I have a 1000 element vector. I want to know if it has got any of its 2 or more elements equal. Is there a command to check this?
Show older comments
I can write a program to check if any of the elements are identical. But wanted to know if there is a built in command and or function to check this?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!