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.

Elapsed time is 0.9876 seconds.

Solution Stats

27.41% Correct | 72.59% Incorrect
Last solution submitted on Jul 25, 2017

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!