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 帐户或创建一个新帐户。