Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = magic(4);
y_correct = sum(diag(x));
assert(isequal(your_fcn_name(x),y_correct))
y =
34
|
2 | Pass |
x = ones(5);
y_correct = sum(diag(x));
assert(isequal(your_fcn_name(x),y_correct))
y =
5
|
Maximum running product for a string of numbers
1112 Solvers
Determine the number of odd integers in a vector
435 Solvers
find the maximum element of the matrix
349 Solvers
07 - Common functions and indexing 6
348 Solvers
What is Sum Of all elements of Matrix
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!