a problem with unique command
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello all,
I have an mx1 vector A, that is ordered in an ascending manner. I would like to find unique elements of this vector, however, by using "unique" command, I am getting the same output as A. Can anybody tell me how I can resolve this issue? I think it has to be done with matlab precision, but I do not know how to fix it.
Thanks!
댓글 수: 2
James Tursa
2016년 4월 4일
Please post a short example showing A and what you want for output, and how you are currently using unique.
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!