Cody

Solution 1690537

Submitted on 11 Dec 2018
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
x = [45,45] y_correct = 0 assert(isequal(your_fcn_name(x),y_correct))

x = 45 45 y_correct = 0

Assertion failed.

2   Fail
x=[27,327] y_correct=1/2 assert(isequal(your_fcn_name(x),y_correct))

x = 27 327 y_correct = 0.5000

Assertion failed.

3   Fail
x=[546,273] y_correct=1/3 assert(isequal(your_fcn_name(x),y_correct))

x = 546 273 y_correct = 0.3333

Assertion failed.

Suggested Problems

More from this Author5