Cody

Solution 1176639

Submitted on 1 May 2017 by Tim
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 = 23; y_correct = 100; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
x = 21; y_correct =77; assert(isequal(your_fcn_name(x),y_correct))

3   Pass
x = magic(1000); y_correct = 3.755040202300000e+10; assert(isequal(your_fcn_name(x),y_correct))

4   Pass
x = magic(5); y_correct =100; assert(isequal(your_fcn_name(x),y_correct))

5   Pass
x = 1:220; y_correct = 4438; assert(isequal(your_fcn_name(x),y_correct))

Suggested Problems

More from this Author14