Question: Develop a Matlab App for Body Mass Index ( BMI ) calculation. Your App should look like the example shown below. The Body Mass Index

Develop a Matlab App for Body Mass Index (BMI) calculation. Your App should look like the
example shown below. The Body Mass Index (BMI) is calculated as:
BMI =WEIGHTinpounds(HEIGHTininches)2**703
The user can enter the height and weight using three numeric Edit Fields. The Total Height in
inches can be calculated from the Feet and Inch edit fields as: Height = Feet*12+Inch
Set the three numeric Edit Fields so that a user cannot enter negative values.
When the user clicks the Button "Get BMI", the BMI
will be calculated as displayed in a Label. As shown in
the example, the color of the Label changes based
on BMI category:
Green Healthy Weight
Yellow Weight problem
Red Excess Weight
The above BME categories are defined as:
Healthy Weight: BMI18.524.9or BMI18.5
Excess Weight: BMI>29.918.5
Weight Problem: 24.9or BMI18.5
Excess Weight: BMI>29.9
Develop a Matlab App for Body Mass Index ( BMI )

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 Programming Questions!