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

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Adam
Adam le 4 Fév 2020
newArray( ~thisArray, : )
where thisArray is the one you show here.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion 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