How to select non-NaN from a matrix?
75 views (last 30 days)
Show older comments
Say we are only interested to extract row with only a non-NAN,
1 1 1 1 0 0
1 1 1 1 0 0
1 1 1 NaN 0 NaN
1 1 1 1 0 0
1 1 1 1 0 0
1 1 1 1 0 0
1 1 1 1 0 0
1 1 1 1 0 0
1 1 1 1 0 0
NaN 1 1 1 0 0
That is, row 1,2,4,5,6,7,8,9.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Material Sciences 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!