Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [2 -1 -3];
y_correct = [1.5 -1]';
assert(isequal(your_fcn_name(x),y_correct))
ans =
1.5000
-1.0000
|
Matrix indexing with two vectors of indices
485 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
229 Solvers
228 Solvers
2617 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!