Remove NAN's from a matrix
11 views (last 30 days)
Show older comments
i have the matrix: [5 4 3 2 1;Nan 4 3 2 1;Nan Nan 3 2 1] and i want to have [5 4 3 2 1; 4 3 2 1;3 2 1] How can i get that? or how can i separate the matrix in vectors and so delete de nan's? Tanks
0 Comments
See Also
Categories
Find more on NaNs 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!