title: two different size of dataset filtering via considering timestamp using matlab?
body: <p>I have two very large dataset of matlab. In both dataset we have different parameter. The only common parameter is timestamp means measuring value of all parameter with every 10 min of interval. Let us take an example,</p>
  
  <p>In dataset 1 , I have  Timestamp (YYYY-MM-DD , HH : MM :SS  format) and power
  In dataset 2, I have again timestamp(in above format) and speed</p>
  
  <p>I want a new dataset which have power and speed with timestamp synchronization.  For example :</p>
  
  <pre><code>       TimeStamp                         P           S
    2014 - 01 - 01 , 00 :10               100          5
                     00 :20                           7
                     00:30                150         10
                     00:40                200          
                     00:50                145         12
                     01:00                50          7
                     01:10                            6
  </code></pre>
  
  <p>etc............</p>
  
  <p>So in short the output of the final dataset must be like :</p>
  
  <pre><code>       TimeStamp                         P           S
          00 :10                          100          5
           00:30                          150         10    
           00:50                          145         12        
  </code></pre>
  
  <p>So basically if i am getting both power and speed with same time then it should take otherwise filter rest.</p>
  
  <p>And  If we have different size of observation in both data set will it work ??  Even though they might have different observation size but I want only those data in my final database whose P and S matching with time Stamp and if it is not making then my final data base exclude those sets </p>
  
  <p>anyone help me on this with the help of matlab ???    thanks in advance        </p>