Row Number Returned During Iterations

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by