I am currently programming some large scripts in matlab. I have discovered that when using 'while' loops, or 'for' loops, etc. the processing time increases almost exponentially.
I am looking for why loops greatly slow down the program in matlab and how to fix it without taking out the loops and just copying and pasting the code out. Any help would be greatly appreciated.
MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.