title: Removing rows in a cell array without a specific word
body: <p>I have a cell array in MATLAB with majority of rows containing the word sentiment and these are the only ones relevant to my algorithm. However, some rows do not contain the word 'sentiment', so I wish to removed these. Could anyone provide a solution ?</p>
  
  <p>Using... </p>
  
  <pre><code>IDX = strfind(datesent,'sentiment')
  </code></pre>
  
  <p>... I can identify which rows down contain the particular word but I am unsure as to how I should structure this as a command.</p>
  
  <p>Or could I create a new array with just these rows ?</p>
  
  <p>thanks in advance.</p>