This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [2 4 -2; 4 -2 6; 6 -4 2] ;
y_correct = [2 4 -2; 0 -10 10; 0 0 -8];
assert(isequal(your_fcn_name(x),y_correct))
|
1939 Solvers
147 Solvers
144 Solvers
Getting the absolute index from a matrix
178 Solvers
Duplicate each element of a vector.
455 Solvers