title: MatLab - Padding arrays with something that wont be valued?
body: <p>I'm comparing arrays of different sizes to find matches</p>
  
  <pre><code>Results = (DistancesB &gt;= DistancesA * 0.1 &amp; DistancesB &lt; DistancesA * 1.5); % anything in this thres is matched
  </code></pre>
  
  <p>the arrays need to be same size, so <code>padarray</code> with <code>0</code>.
  but now the 0's are being compared and matched... 
  should I do a loop to only use results > 0? 
  or is there something else I can pad with? maybe <code>NaN</code>?</p>