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; Related SolutionsMATLAB: Correlation between two row matrices Like that, each value of "a" is correlated to each value of "b", but applying the formula of the correlation, the correlation of two single numbers is NaN. To compute the correlation correctly, traspose the input vectorsresult = corr(a', b'); MATLAB: Correct use of isnan You can't remove some values of your matrix. You can remove columns, rows or channels. Obviously, the size of your matrix will be reduced Related QuestionSame matrix but not equal problemSubtract two matrices each with NaN values in different cellsArray of NaN for titleHow to ignore NaN values in pcolor function
Best Answer