Row Number Returned During Iterations

조회 수: 3 (최근 30일)
Jay
Jay 2019년 8월 8일
답변: Jay 2019년 8월 8일
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