I have some MATLAB code that was given to me by a coworker. This code contains a three layered for loop. So the code has the basic structure:
for for for
The code works but it takes an incredibly long time to execute as the three layered for loop is performing operations on a 40000×4 matrix. I need a way to either bypass the for loops or make them run faster. Someone mentioned to me that I could call Perl in MATLAB to do this but I am unsure how this works. Dose anyone have any ideas. Thank you.
Best Answer