Stopwatch

3 views (last 30 days)
RDG
RDG on 7 Dec 2011
I'm using the function tic and toc to measure the duration of an evaluation and I get 1.425484891851347e+03 as my value.
How do I interpret it?

Accepted Answer

Chandra Kurniawan
Chandra Kurniawan on 7 Dec 2011
If you get little confused with that value,
Then you can replace command 'toc' with
fprintf('Total time : %.2f second\n',toc);

More Answers (1)

Grzegorz Knor
Grzegorz Knor on 7 Dec 2011
Elapsed time is 1.425484891851347e+03 seconds.
  1 Comment
RDG
RDG on 7 Dec 2011
Marvelous.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!