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

1 visualización (últimos 30 días)
Matthew
Matthew el 13 de Ag. de 2014
Respondida: Adam el 13 de Ag. de 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...

Respuestas (1)

Adam
Adam el 13 de Ag. de 2014
Yes, they are sorted

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by