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.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.