title: Matlab: 2d-array, rows different lengths
body: <p>In Matlab, I want to create a two-dimensional array. However, I cannot create a matrix, because the rows are all different lengths.</p>
  
  <p>I am new to Matlab, and I would normally do this in C++ by creating an array of pointers, with each pointer pointing towards its own array.</p>
  
  <p>How should I do this in Matlab? Thanks.</p>