cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

How to count for how many duplicate elements exist in a vector and a matrix?

Cornel
18-Opal

How to count for how many duplicate elements exist in a vector and a matrix?

Hello,

How to count for how many duplicate elements (excluding the original element) exist in a vector and a matrix?

So, as example if in t1 vector element 2 is present for four times, then element 2 has 3 duplicate (four times - 1 time for original element = 3 duplicate).

Cornel_2-1695282415372.png

Cornel_4-1695282647891.png

 

Cornel_3-1695282421714.png

Cornel_5-1695282691542.png

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:Cornel)

1 REPLY 1
Werner_E
24-Ruby V
(To:Cornel)

Werner_E_0-1695284757391.png

 

Top Tags