This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4];
y_correct = [1 4 3 4 4];
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = [4 3 2 1]
y_correct = [4 1 2 1 1];
assert(isequal(your_fcn_name(x),y_correct))
x =
4 3 2 1
|
Is my wife right? Now with even more wrong husband
1145 Solvers
Matlab Basics - y as a function of x
242 Solvers
172 Solvers
236 Solvers
Remove All elements less than 5
79 Solvers