Problem 1052. Elapsed time is -0.005204 seconds.

Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case pauses for one second. Overall time elapsed for the test case should therefore be less than one second.

tic
pause(1)
superfast()
toc
Elapsed time is 0.9876 seconds.

Solution Stats

27.9% Correct | 72.1% Incorrect
Last Solution submitted on May 30, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers104

Suggested Problems

More from this Author5

Problem Tags

Community Treasure Hunt

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

Start Hunting!