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일

0 개 추천

Iterator indicates which row satisfied that condition , so why not save it?

추가 답변 (1개)

Jay
Jay 2019년 8월 8일

0 개 추천

I just realized that.
Too many hours coding.
Thank you.

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

질문:

Jay
2019년 8월 8일

답변:

Jay
2019년 8월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by