This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 1;
h=2;
y_correct = 2;
assert(isequal(area(a,h),y_correct))
|
546 Solvers
248 Solvers
3070 Solvers
Create an index-powered vector
353 Solvers
07 - Common functions and indexing 1
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!