Question: hello, please help with this MAT LAB question! Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: - 1
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 0 DI MATLAB Documentatio function bmi = bai_calculator (hw) * Convert the height values from inches to meters \% Convert the weight values from lbs to kilograms 2. Calculate the bmi for height and weight combination and return the output variable "bai' . bmi=hw; end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
