Cody

Problem 396. Dancing with wolves?

Solution 1970540

Submitted on 10 Oct 2019
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
beat=(1+rand)/4; wolf=@()pause(beat); tic; partner(wolf); assert(toc>2.5*beat) assert(toc<3*beat)

Elapsed time is 0.000148 seconds.

Assertion failed.

Suggested Problems

More from this Author100

Community Treasure Hunt

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

Start Hunting!