Cody

Solution 511250

Submitted on 10 Oct 2014 by Georges
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
%% x = round((1+rand)*10)/10; tic; your_fcn_name(x); your_time=toc y_correct = x; assert(isequal(your_fcn_name(x),y_correct)) assert(your_time>x/2)

y = 1.7073 y = 1.7000 your_time = 1.7077 y = 1.7066 y = 1.7000

Suggested Problems

More from this Author100