This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
S = 12;
h=4;
y_correct = [5 5 6];
assert(isequal(sidesOfTheTriangle(S ,h),y_correct))
y =
5 5 6
|
2 | Pass |
S = 60;
h=5;
y_correct = [ 13 13 24];
assert(isequal(sidesOfTheTriangle(S ,h),y_correct))
y =
13 13 24
|
3 | Pass |
S = 120;
h=8;
y_correct = [ 17 17 30];
assert(isequal(sidesOfTheTriangle(S ,h),y_correct))
y =
17 17 30
|
1143 Solvers
405 Solvers
616 Solvers
Matlab Basics - Convert a row vector to a column vector
423 Solvers
321 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!