title: Matlab string array
body: <p>All i am trying to do is this:</p>
  
  <pre><code>    type = cell(size(A));
      ...
      i = find(A == 0);
      type{i} = 'pasok';
  </code></pre>
  
  <p>However it miserably fails is <code>size(A) &gt; 1</code> or if <code>i</code> is empty.
  Is there any workaround for this problem?</p>
  
  <p><strong>UPDATE -ERROR</strong></p>
  
  <p>type = </p>
  
  <pre><code>[]    []
  </code></pre>
  
  <p>ans =</p>
  
  <pre><code> 1     2
  </code></pre>
  
  <p>i =</p>
  
  <pre><code> 1     2
  </code></pre>
  
  <p>The right hand side of this assignment has too few values to satisfy
   the left hand side.</p>
  
  <p>Error in ellipse (line 48)
  type{i} ='pasok';</p>