Steve on Image Processing with MATLAB

Image processing concepts, algorithms, and MATLAB

Measuring elapsed time in MATLAB

The July 2011 issue of MATLAB Digest is out, and an article by Martin Knapp-Cordes and Bill McKeeman caught my eye. It describes improvements to the MATLAB tic and toc functions. It also describes some general principles and specific techniques associated with trying to measure elapsed time in standard seconds on a computer. It turns out to be surprisingly difficult.

See also Bill's article on the File Exchange about performance measurement, as well as my timeit function for measuring the speed of a particular MATLAB operation.
|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.