title: overlapping feature values values in matlab
body: <p>If I have a matrix </p>
  
  <pre><code>F=[ 24 3  17 1;
      28 31 19 1;
      24 13 25 2;
      47 43 39 1;
      56 41 39 2];
  </code></pre>
  
  <p>in the first three columns I have feature values a forth column is for class labels. my problem is to get rid of same feature values when class label is different for that particular values.</p>
  
  <p>like for <code>F</code> matrix I have to remove the rows 1,3,4 and 5 ,because for first column there are 2 different values in column four and same is for third column (39 and 39)as class label again got changed.
  so output should look like</p>
  
  <pre><code>F=[28 31 19 1];
  </code></pre>