title: Check if matrix is not Nan in matlab
body: <p>I have a matrix <code>&lt;1x100&gt;</code>. How do I check if all the values in the matrix are NaN? </p>
  
  <p>Basically I want to check if the matrix only contains of NaN values with an <code>if-statement.</code></p>