title: Apply Function Handle to Multiple Input Arguments
body: <p>I have a matrix and a vector in MATLAB defined:</p>
  
  <pre><code>A=rand(3);
  x=rand(3,1);
  </code></pre>
  
  <p>And a function that takes these types of input arguments:</p>
  
  <pre><code>b = MacVecProd(A,x);
  </code></pre>
  
  <p>However, I'd like to use this function's function handle in order to apply it to my values.  I thought that I could use <code>cellfun</code> for this, but:</p>
  
  <pre><code>v = {A,x};
  cellfun(@MatVecProd_a, v{:})
  </code></pre>
  
  <p>Gives the error:</p>
  
  <pre><code>Error using cellfun
  Input #2 expected to be a cell array, was double instead.
  </code></pre>
  
  <p>How do I do this correctly?</p>