Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4];
y_correct = [-1 -2 -3 -4];
assert(isequal(your_fcn_name(x),y_correct))
y =
-1 -2 -3 -4
|
2 | Pass |
x = [10 -1;2 8];
y_correct = [-10 1;-2 -8];
assert(isequal(your_fcn_name(x),y_correct))
y =
-10 1
-2 -8
|
573 Solvers
324 Solvers
Returning a "greater than" vector
188 Solvers
Deleting an element in a matrix
325 Solvers
241 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!