title: divide char array into N equal parts matlab
body: <p>I have a char array, for example:</p>
  
  <pre><code>a = '123456abced5421f'
  </code></pre>
  
  <p>and I want to divide it into equal parts (e.g: <code>b(1) = '123456ab'</code> and <code>b(2) = 'ced5421f'</code>) so when I call <code>b(1)</code> it will return 8 elements not just 1 element.</p>
  
  <p>How can I do this in Matlab?</p>
  
  <p>I tried using cell array and reshape, the cell array will increase the size of the array so I don't want to use it, and the reshape will return only 1 element.</p>