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
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35563 Solvers
Find state names that end with the letter A
708 Solvers
It dseon't mettar waht oedrr the lrettes in a wrod are.
653 Solvers
232 Solvers
Finding perimeter of a rectangle
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!