Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 -3 4 -5 6 -7 8 -9 10];
y_correct = [-3 -5 -7 -9];
assert(isequal(myFunc(x),y_correct))
y =
-3 -5 -7 -9
|
1309 Solvers
2538 Solvers
248 Solvers
Given a 4x4 matrix, swap the two middle columns
515 Solvers
241 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!