Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
r = 2;
y_correct = 16;
assert(isequal(area_sqr(r),y_correct))
A =
16
|
2 | Pass |
%%
r = 3;
y_correct = 36;
assert(isequal(area_sqr(r),y_correct))
A =
36
|
3 | Pass |
%%
r = 25;
y_correct = 2500;
assert(isequal(area_sqr(r),y_correct))
A =
2500
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
1092 Solvers
Back to basics 8 - Matrix Diagonals
781 Solvers
283 Solvers
Number of digits in an integer
336 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!