Clear Filters
Clear Filters

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

2 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!