Cody

Problem 326. Tricky timing

Solution 2800000

Submitted on 6 Aug 2020
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   Fail
tic; y=foo(1); t2=toc assert((t2>.5)&&(t2<.6))

Undefined function 'foo' for input arguments of type 'double'. Error in Test1 (line 2) y=foo(1);

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!