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))
ans =
[]
ans =
[]
|
495 Solvers
Getting the indices from a vector
3206 Solvers
187 Solvers
2455 Solvers
992 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!