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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays 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