Question: 1. Please solve the following question in Matlab. Now, write a function which receives mass and height and does the above tasks (calculates BMI, and
Now, write a function which receives mass and height and does the above tasks (calculates BMI, and displays a message according to BMI range). Your function must not return BMI value. It only needs to display an appropriate message. No flowchart is needed. Calculate BMI according to this formula: BMI=height2mass where height is in meters and mass is in kilograms. Then, display a text message based on the computed BMI, as indicated in the table below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
