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?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!