title: Matlab, Interpolate data between two vectors
body: <p>So I'm currently working on filling a 2-D matrix in order to calibrate a picture I've taken.</p>
  
  <p>To do so I've created:</p>
  
  <pre><code>vector1 = linspace(0.037, 0.03175, 256);
  </code></pre>
  
  <p>This vector is ideally the first row in the matrix.</p>
  
  <p>I then have another vector: </p>
  
  <pre><code>vector2 = linspace(0.0288, 0.0277, 256);
  </code></pre>
  
  <p>I was wondering if there is any way to interpolate between <code>vector1</code> and <code>vector2</code> and have them be inserted into a matrix with <code>Row 1 = vector1</code> and <code>Row 168 = vector2</code>.</p>
  
  <p>I should have 168 total rows, with 256 columns.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>I'd rather not have to do 168 rows manually....</p>