Problem 44945. Calculate BMI

Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas:
  • 1 kilogram = 2.2 pounds
  • 1 inch = 2.54 centimeters
  • BMI = weight(kg) / [height(m)]^2
The first column is the height in inches. The second column is the weight in pounds.

Solution Stats

23.3% Correct | 76.7% Incorrect
Last Solution submitted on Dec 10, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers9238

Suggested Problems

More from this Author13

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!