Calculate BMI - MATLAB Cody - MATLAB Central

Problem 44945. Calculate BMI

Difficulty:Rate
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.52% Correct | 76.48% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
0
1

Problem Recent Solvers9775

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!
Go to top of page