title: Logical OR in a matlab IF statement?
body: <p>I'm trying to utilize a logical OR in an IF statement within MATLAB. Where <code>TRI</code> is a 32x2 vector, I want to check if a certain row in <code>TRI</code> contains a 28 or 31, if so do some operation. </p>
  
  <p>I can't figure out why this is difficult, the line containing the logic is currently:</p>
  
  <pre><code>if (TRI(i,:)==28 || TRI(i,:)==31);
  </code></pre>