I was wondering if there was a way to allocate more CPU usage to MATLAB. Currently, it says that 85% of my CPU is is idle. Is there some way to increase the threads MATLAB uses, or something along those lines? For reference, my computer is a 2.7 GHz i7 8GB MacBook.
Though I could imagine that some tasks may already be allocated to multiple cores, the general way to enable parallel programming is by getting the 'parallel programming toolbox'.
This gives you the option to replace some of your
for loops by
If you don't have this toolbox, you may want to look into a free alternative like:
Of course this would require a stricter separation of the code, but it may not be too much work to achieve this.