Under all circumstances, try to avoid the use of for loops in MATLAB. ... One other thing to keep in mind when trying to speed up MATLAB code is that it is ...
www.bic.mni.mcgill.ca