If your purpose is to compare the efficiency, I recommend you to use tic/toc or timeit instead of clock/etime. The clock function measures the operating system time which is less reliable as compared to tic/toc measurements.
235 Solvers
Convert Hard Drive marketing sizes to actual data sizes
61 Solvers
544 Solvers
118 Solvers
How long do each of the stages of the rocket take to burn?
78 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!