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

조회 수: 1 (최근 30일)
Matthew
Matthew 2014년 8월 13일
답변: Adam 2014년 8월 13일
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...

답변 (1개)

Adam
Adam 2014년 8월 13일
Yes, they are sorted

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by