Cody

Solution 2054995

Submitted on 11 Dec 2019
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 = [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))

a = 1.4142 b = 0.7071 y = 45 y = 45 45 a = 2.0000 b = 0.8660 y = 61 y = 61 29

Assertion failed.