MATLAB: How to calculate algorithm speed

algorithm speed

i have simple mat-lab algorithm and i would like to know how to calculate the speed of the algorithm?

Best Answer

I would start with tic and toc. You could also use timeit.
Related Question