title: Matlab: command to check for zero sparse matrix?
body: <p>I need a command to check for zero sparse matrix, isempty(..) does not work. Is there some sparse version of isempty(..)?</p>
  
  <pre><code>&gt;&gt; mlf2=sparse([],[],[],2^31+1,1)
  
  mlf2 =
  
     All zero sparse: 2147483649-by-1
  
  &gt;&gt; isempty(mlf2)
  
  ans =
  
       0       % I waited for 1 here with the zero sparse matrix...
  </code></pre>