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))
|
2 | Pass |
%%
x = [10 -1;2 8];
y_correct = [-10 1;-2 -8];
assert(isequal(your_fcn_name(x),y_correct))
|
17209 Solvers
1263 Solvers
Sum all integers from 1 to 2^n
8411 Solvers
Solve the set of simultaneous linear equations
273 Solvers
Create an index-powered vector
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!