a problem with unique command
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mnr
am 4 Apr. 2016
Bearbeitet: Walter Roberson
am 5 Apr. 2016
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 Kommentare
James Tursa
am 4 Apr. 2016
Please post a short example showing A and what you want for output, and how you are currently using unique.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!