title: Importing Two Sets of Data from Same Excel Sheet In MATLab
body: <p>I am working on a small project for a professor at the university who needs data sorted through MATLAB with various other operations done to the data.  I have read in the data with no problem using:</p>
  
  <pre><code>filename = 'file.xlsx';
  data = xlsread(filename)
  </code></pre>
  
  <p>With this it imports all the data into one big matrix.  From here, within the file itself, there data is divided into 2 main categories, left knee and right knee.  </p>
  
  <p>What my issue is is I have tried to separate the data, but have not had any luck.  Since the two sets are NOT divided by equal rows, I can't use a simple array to select the different columns.  The green columns are set one and the gold is set two.  Is there a way that I can look at the second row to see if it's left or right and then put the data into different sets that way?  Or is there a better way to this?</p>