How to extract NaN values from matrix?
5 views (last 30 days)
Hello to everyone. I have a 28x5 matrix and this matrix has NaN values in it. I want to create a new matrix by deleting these NaN values from my matrix. My new matrix should only consist of numbers. I also want to save the newly formed matrix as a 1-line vector. How can I do that.
I wrote a code like this to delete NaN values, but I couldn't get the right result. Thanks for your help.