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 Center および File ExchangeShifting and Sorting Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by