Cody

Problem 42601. UICBioE240 problem 1.7

Solution 872312

Submitted on 12 Apr 2016
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))

t = 45

Error using VisibleTest1 (line 3) Output argument "y" (and maybe others) not assigned during call to "your_fcn_name".

Suggested Problems

More from this Author27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!