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 Solvers302
Suggested Problems
-
Find common elements in matrix rows
2633 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2977 Solvers
-
Back to basics 9 - Indexed References
441 Solvers
-
1224 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1073 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!