Row Number Returned During Iterations

3 views (last 30 days)
Jay
Jay on 8 Aug 2019
Answered: Jay on 8 Aug 2019
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.

Accepted Answer

madhan ravi
madhan ravi on 8 Aug 2019
Iterator indicates which row satisfied that condition , so why not save it?

More Answers (1)

Jay
Jay on 8 Aug 2019
I just realized that.
Too many hours coding.
Thank you.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!