Problem 43161. Replace 0 to NaN!
In given matrix
A=[1 nan nan; 2 2 nan; nan nan 1];
replace NaN to 0. Use matrix A as a input.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers101
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3034 Solvers
-
Sum the numbers on the main diagonal
599 Solvers
-
Create an index-powered vector
871 Solvers
-
1178 Solvers
-
197 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!