Problem 1054. What's Your BMI?
Find the body mass index.
For reference, please refer to Wikipedia here: body mass index.
Note: Mass is given in lb & height in inch.
Solution Stats
Problem Comments
-
1 Comment
Peter Wittenberg
on 8 Jan 2013
This should allow for differences in precision of numbers used. The BMI isn't really useful beyond integer values, and the test suite should allow for that.
Solution Comments
Show commentsProblem Recent Solvers314
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15777 Solvers
-
270 Solvers
-
2269 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
397 Solvers
-
389 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!