Use Matlab to create a code for the following ; The image attached describes the correlation between the height and the weight of a person and how this could be related to define Body Mass Index. The formula used to calculate the BMI = W / H^2 (kg/m2), where W is the weight in kg and H is the height in meters. Use this formula to plot the graph For the four colour curves use the line width ‘3’. To display a BMI of a person use the following: circular MarkerSize ‘8’, MarkerEdgeColor ‘black’, and MarkerFaceColor ‘cyan’. To display this you have to enter two values. These are the Height in meters and Weight in kgs. And inform the outcome result to the person from the command window
Use Matlab to create a code for the following ; The image attached describes the correlation between the height and
the weight of a person and how this could be related to define Body Mass Index.
The formula used to calculate the BMI = W / H^2 (kg/m2), where W is the weight in kg
and H is the height in meters. Use this formula to plot the graph For the four colour curves use the line width ‘3’. To display a BMI of a person use the
following: circular MarkerSize ‘8’, MarkerEdgeColor ‘black’, and MarkerFaceColor
‘cyan’. To display this you have to enter two values. These are the Height in meters
and Weight in kgs. And inform the outcome result to the person from the command
window


Step by step
Solved in 3 steps with 1 images









