title: Matrix multiplication of matrix sequences
body: <p>I searched for a way to do a sequential matrix multiplication 
  similarly to the sum(A,dim) or prod(A,dim) operations do for the sum or the element-wise multiplication.</p>
  
  <p>for example:</p>
  
  <pre><code>A = arrayfun(@(x) rand(5), 1:n, 'UniformOutput', false);
  P = A{1} * A{2} * ... * A{n};  % &lt;-- search for an elegant way to do this
  </code></pre>
  
  <p>I would use it to multiply a large number of Transfer matrices.</p>