title: Find maximum of each cell array element efficiently
body: <p>We have foe example a 3x5 <code>cell</code> array where each element is a matrix. Can we find the maximum of each cell element, i.e, a matrix, and store the corresponding value in a new 3x5 matrix? All this without for loops. Bellow there is the naive way.</p>
  
  <p>Example:</p>
  
  <pre><code>a = rand(5,6);
  b = rand(7,6);
  c = rand(7,9);
  d = rand(27,19);
  CellArray = cell(2,2);
  CellArray{1}=a;
  CellArray{2}=b;
  CellArray{3}=d;
  CellArray{4}=c;
  
  MaxResults = nan(size(CellArray));
  for i=1:numel(size(CellArray))
      MaxResults(i) = max(max(CellArray{i})); 
  end
  </code></pre>
  
  <p>Thank you.  </p>