title: How to write a one liner that converts string array input into cell array and appends additional cell array term?
body: <p>Inspired by this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/17893348/matlab-how-to-read-2-bytes-at-a-time">Matlab - how to read 2 bytes at a time</a></p>
  
  <p>Defining</p>
  
  <pre><code>s= '778310098';
  </code></pre>
  
  <p>I wrote a one-liner:</p>
  
  <pre><code>c = reshape(reshape(s(1:2^(nextpow2(length(s))-mod(length(s),2))),2,[]).',[],2)
  </code></pre>
  
  <p>which outputs</p>
  
  <pre><code>c =
  
  77
  83
  10
  09
  </code></pre>
  
  <p>and takes me far, but no cigar, since my objective was to have the result as a <code>cell array</code> of strings, including the odd terminal element <code>'8'</code>.</p>
  
  <p>I'm wondering how I could, as concisely as possible, turn the contents of the ouput <code>char array</code> into a <code>cell array</code> with entries</p>
  
  <pre><code>d{1} = '77'
  d{2} = '83'
  d{3} = '10'
  d{4} = '09'
  </code></pre>
  
  <p>Also, I'd like to append the missing value (concisely), such that</p>
  
  <pre><code>d{5} = '8'
  </code></pre>