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.
The Goldbach Conjecture, Part 2
1299 Solvers
407 Solvers
Find the "ordinary" or Euclidean distance between A and Z
139 Solvers
309 Solvers
30 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!