Cody

Solution 872316

Submitted on 12 Apr 2016 by Rathin Joshi
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 = [1 1]; y_correct = [45 45]; assert(isequal(your_fcn_name(x),y_correct))%% x = [1 sqrt(3)]; y_correct = [60 30]; assert(isequal(your_fcn_name(x),y_correct))

y = 45 y = 45 45 y = 60 y = 60 30

Suggested Problems

More from this Author27