title: Make vectors of unequal length equal in length by reducing the size of the largest ones
body: <p>I am reading 5 columns from a .txt file to 5 vectors. </p>
  
  <p>Sometimes some vectors are one element larger than others, so I need to check if they are all of equal length, and if not, I have to find which ones are the largest and delete their last element. I think I should be able to do this without loops. I was originally thinking of using <code>find</code> in combination with <code>isequal</code> but <code>isequal</code> only returns a logical, and does not provide any information on which vectors are the largest.</p>
  
  <pre><code>[Seconds,Sensor1VStatic,Sensor2VPulsed,TemperatureC,RelativeHumidity] = importfile(path);
  </code></pre>
  
  <p>Then depending on what vectors are longer by one element, I will do, for example</p>
  
  <pre><code>Seconds(end) = [];
  Sensor1VStatic(end) = [];
  </code></pre>
  
  <p>If Seconds and Sensor1VStatic are longer than the other vectors by one element</p>