Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
hw = [66 155;60 140;72 166;58 160;75 215];
bmi_correct = [25.0700;27.3990;22.5607;33.5100;26.9293];
assert(all(abs(bmi_calculator(hw) - bmi_correct) < 1e-4))
hm2 =
2.8103
2.3226
3.3445
2.1703
3.6290
|
2 | Pass |
hw = [10 80];
bmi_correct = 563.6375;
assert(all(abs(bmi_calculator(hw) - bmi_correct) < 1e-4))
hm2 =
0.0645
|
Find the sum of the elements in the "second" diagonal
994 Solvers
Find the maximum number of decimal places in a set of numbers
734 Solvers
856 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
Finding perimeter of a rectangle
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!