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
|
given 3 sides, find area of this triangle
680 Solvers
Set the array elements whose value is 13 to 0
935 Solvers
309 Solvers
Determine the number of odd integers in a vector
435 Solvers
Convert from Fahrenheit to Celsius
7133 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!