This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
A=[1 2 3;
4 5 6;
7 8 9]
y_correct = A(2:end,2:end);
assert(isequal(your_fcn_name(x),y_correct))
A =
1 2 3
4 5 6
7 8 9
A =
1 2 3
4 5 6
7 8 9
|
Find the sum of the elements in the "second" diagonal
879 Solvers
243 Solvers
205 Solvers
59 Solvers
123 Solvers