title: run two functions in parallel matlab
body: <p>I have this problem: I have one MATLAB function that performs anisotropic diffusion on a volume. For a medical volume it takes about 20 min to complete the execution. Now I want to use this function simultaneously on two different volumes so that the total execution time remains 20 min and not 40 min total using Matlab's Parallel Computing Toolbox.
  I have a quadcore Macbook so in my thoughts one core should run one the first volume and the second core should run the second volume.</p>
  
  <p>How can I do that?</p>
  
  <p>The functions I want to run simultaneously are: </p>
  
  <pre><code>filt1=anisodiff3D(volume1);
  filt2=anisodiff3D(volume2);
  </code></pre>
  
  <p>Thank you!</p>