Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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).
Solved! Go to Solution.