MATLAB: How create an matrix without NaN data

nan

Hi users Matlab…
I have an matrix as dimensions 180x89x1919> This my matrix have some data NaN.
How I could create an new matrix as same dimensions 180x89x1919 without this points (NaN) (…)??
This is possible?

Best Answer

You would need to replace the NaN's with something:
your_mat(your_mat ~= your_mat) = some_value;