This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [ 4 3
5 1
5 1];
y_correct = [4;5;5;3;1;1];
assert(isequal(your_fcn_name(x),y_correct))
ans =
4
5
5
3
1
1
|
284 Solvers
229 Solvers
525 Solvers
Matlab Basics - Switching Assignments
171 Solvers
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!