Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
r = 2;
y_correct = 16;
assert(isequal(area_sqr(r),y_correct))
|
2 | Pass |
r = 3;
y_correct = 36;
assert(isequal(area_sqr(r),y_correct))
|
3 | Pass |
r = 25;
y_correct = 2500;
assert(isequal(area_sqr(r),y_correct))
|
Swap the first and last columns
12410 Solvers
3892 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
483 Solvers
07 - Common functions and indexing 5
314 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!