MATLAB Answers

How do I extract the rows that have value 0 in one array from another new array?

조회 수: 4(최근 30일)
tinkiewinkie
tinkiewinkie 4 Feb 2020
답변: Adam 4 Feb 2020
Suppose I have the following:
Screenshot 2020-02-04 at 9.06.13 PM.png
How do I extract rows with zero value, example: row 1,9,10,11,12 from another new array?
Thank you.

  댓글 수: 0

Sign in to comment.

채택된 답변

Adam
Adam 4 Feb 2020
newArray( ~thisArray, : )
where thisArray is the one you show here.

  댓글 수: 0

Sign in to comment.

추가 답변(0개)


Translated by