title: How to resample time vector data matlab
body: <p>I have to resample the following cell array:</p>
  
  <pre><code>dateS = 
  
  '2004-09-02 06:00:00'
  '2004-09-02 07:30:00'
  '2004-09-02 12:00:00'
  '2004-09-02 18:00:00'
  '2004-09-02 19:30:00'
  '2004-09-03 00:00:00'
  '2004-09-03 05:30:00'
  '2004-09-03 06:00:00'
  </code></pre>
  
  <p>following an irregular spacing, e.g. between 1st and 2nd rows there are 5 readings, while between 2 and 3rd there are 10. The number of intermediates 'readings' are stored in a vector 'v'. So, what I need is a new vector with all the intermediate dates/times in the same format at dateS.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p><em>There's 1h30min = 90min between the first 2 readings in the list. Five intervals b/w them amounts to 90 mins / 5 = 18 mins. Now insert five 'readings' between (1) and (2), each separated by 18mins. I need to do that for all the dateS.</em></p>
  
  <p>Any ideas? Thanks!</p>