title: cartesian product of function handles
body: <p>I want to be able to build the Cartesian product of functions. For example, consider following two sets of functions</p>
  
  <pre><code>a = function_handle1;
  b = function_handle2;
  c = function_handle3;
  d = function_handle4;
  
  result = cartprod({a b}, {c d});
  </code></pre>
  
  <p><code>result</code> should be something like this:</p>
  
  <pre><code>result = [a c; a d; b c; b d];
  </code></pre>
  
  <p>Is there something in MATLAB which allows me to do this?</p>