title: How to apply Equation to Cell Array that is a <12x1 cell>
body: <p>I have two cell arrays that are &lt;12x1 cell> and they are labeled A and B.  Each one contains 12 matrices that are &lt;45x13 double> each.  Inside each cell there are the matrices: A1,A2,...A12 and B1,B2,...B12.</p>
  
  <p>Is there a way to have an equation output take each pair into account without having to write out twelve instances of the equation?</p>
  
  <p>So create a new matrix that has the results from running this calculation on pairs A1 and B1, A2 and B2,... A12,B12</p>
  
  <p>For example:</p>
  
  <pre><code>averageB = sum(B)/length(B);
  averageA = sum(A)/length(A);
  tapWithSign = (averageB - averageA) ./ (averageB + averageA / 2) * 100;
  tapAB = abs(tapWithSign); 
  </code></pre>