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))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35560 Solvers
1092 Solvers
construct matrix with identical rows
168 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Write a code that will follow the equation y = x * (x + x) * x.
210 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!