q****i 发帖数: 9 | 1 I don't know if I am right. From my experience, if there are lot of loops in
the matlab code, the execution time will be much longer. I guess this is due
to how matlab processes the variables in the loop. However, if you can find a
way to optimize your code, say, change the computation in the loop to matrix
computaion, it will save you a lot of time. Someone even claims that for
matrix manipulation, matlab is faster than C. Another way to improve the time
efficiency of the matlab code, it's to w |
|