title: MATLAB cell2mat concatenating numbers together
body: <p>I'm trying to plot something in a cell array, so I'm trying to convert one of the columns to a matrix.</p>
  
  <p>I pulled out the column from the cell array and tried to do cell2mat on it to turn it into a matrix. However, cell2mat seems to just turn it into one long character array.</p>
  
  <pre><code>site(:,4)'; % Pull out column 4 from the cell array
  cell2mat(ans); % Attempt to convert the cell into a matrix
  </code></pre>
  
  <p>The first part of the code gives me:
  10.4  10.1  7.9  8.2  </p>
  
  <p>The second part of the code gives me:
  10.410.17.98.2</p>
  
  <p>How can I make the cell into a matrix that I can use to plot a graph?</p>