Row Number Returned During Iterations

3 ビュー (過去 30 日間)
Jay
Jay 2019 年 8 月 8 日
回答済み: Jay 2019 年 8 月 8 日
I have an if statement that goes through all rows looking for a specific condtion.
When the condtion is met, I want to know only what row that condtion was true.
What syntax would return just the rows?
Note: I do not want to use the ismember function as I am using the iteration (row) to referrence another array.

採用された回答

madhan ravi
madhan ravi 2019 年 8 月 8 日
Iterator indicates which row satisfied that condition , so why not save it?

その他の回答 (1 件)

Jay
Jay 2019 年 8 月 8 日
I just realized that.
Too many hours coding.
Thank you.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by