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 Solvers310
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
51848 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15689 Solvers
-
Remove any row in which a NaN appears
8694 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5730 Solvers
-
782 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!