Row Number Returned During Iterations

1 Ansicht (letzte 30 Tage)
Jay
Jay am 8 Aug. 2019
Beantwortet: Jay am 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.

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by