Cody

Problem 326. Tricky timing

Solution 733228

Submitted on 10 Sep 2015 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% tic; y=foo(1); t2=toc assert((t2>.5)&&(t2<.6))

toc = 0.5500 t2 = 0.5500

Suggested Problems

More from this Author39

Community Treasure Hunt

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

Start Hunting!