Cody

Solution 581245

Submitted on 13 Feb 2015 by rifat
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 = [45,45] y_correct = 0 assert(isequal(your_fcn_name(x),y_correct))

x = 45 45 y_correct = 0

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

x = 27 327 y_correct = 0.5000

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

x = 546 273 y_correct = 0.3333

Suggested Problems

More from this Author4