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))
|
Find the sum of all the numbers of the input vector
25664 Solvers
Find state names that start with the letter N
465 Solvers
91 Solvers
Find the sum of the elements in the "second" diagonal
880 Solvers
251 Solvers