This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
b = 1;
h=5
y_correct = 2.5;
assert(isequal(trg_area(b,h),y_correct))
h =
5
|
3071 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
Matlab Basics - Absolute Value
360 Solvers
Finding perimeter of a rectangle
278 Solvers
266 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!