is the result of "find" guaranteed to be sorted?

1 Ansicht (letzte 30 Tage)
Matthew
Matthew am 13 Aug. 2014
Beantwortet: Adam am 13 Aug. 2014
Are the indices returned by MATLAB's "find" function guaranteed to be sorted?
I could not find any mention of this in the "find" documentation.
Intuitively, I can't imagine that the results are not sorted - it seems like a straightforward function to implement.
But you never know...

Antworten (1)

Adam
Adam am 13 Aug. 2014
Yes, they are sorted

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by