MATLAB: Decrease the elapse time

elapse time

this set of files organized to solve 'environment' function with ranges of different variables. I followed all possible instructions but the elapse time is growing with each iteration inside the script 'Ta_I_yearly_by_azimangle' so I have to take bigger steps. Maybe the whole thing could be organized some other way to make it faster, I don't know, so I need your help here, thanks.

Best Answer

appointing to 'simple' and 'int16' made huge difference