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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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

Cornel
19-Tanzanite

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

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Cornel)

1 REPLY 1
Werner_E
25-Diamond I
(To:Cornel)

Werner_E_0-1695284757391.png

 

Announcements

Top Tags