Question: Need help doing this in MATLAB Question 2 Body Mass Index (BMI) is a measure of obesity. In standard units, it is calculated by the

 Need help doing this in MATLAB Question 2 Body Mass Index

Need help doing this in MATLAB

Question 2 Body Mass Index (BMI) is a measure of obesity. In standard units, it is calculated by the formula BMI 703 , where W is weight in pounds and H is height in inches. The obesity classification is shown in the table below BMI below 18.5 18.5 to 24.9 25 to 29.9 30 and above Classification Undeweight Normal Overweight Obese Write a function that computes the BMI index for a given weight and height (you get to decide for yourself if you want two or three inputs - both are acceptable, but must be handled correctly either way). The program should display the result in a sentence that is similar to "This height and weight is normal!" Call the function to try the obesity of the following individuals a) A person is 6 ft 2 in tall with a weight of 140 lbs b) A person is 5 ft 1 in tall with a weight of 150 lbs c) A person is 5 ft 7 in tall with a weight of 135 Ibs d) A person is 6 ft 7 in tall with a weight of 335 lbs Note that 1 foot is 12 inches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!