title: Convert array to string in MATLAB?
body: <p>I have a vector <code>a = [1 2 3 4 5]</code> how would I make it so b = '12345'?</p>
  
  <p>I have tried <code>b = num2str(a)</code> but it outputs <code>1 2 3 4 5</code>.</p>