Row Number Returned During Iterations

2 vues (au cours des 30 derniers jours)
Jay
Jay le 8 Août 2019
Réponse apportée : Jay le 8 Août 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.

Réponse acceptée

madhan ravi
madhan ravi le 8 Août 2019
Iterator indicates which row satisfied that condition , so why not save it?

Plus de réponses (1)

Jay
Jay le 8 Août 2019
I just realized that.
Too many hours coding.
Thank you.

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by