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.
How can I do that?
The functions I want to run simultaneously are:
filt1=anisodiff3D(volume1);
filt2=anisodiff3D(volume2);
Thank you!