Question: ****Use MATLAB only**** ****Use MATLAB only**** ****Use MATLAB only**** 29955 1 160 61 63596 1 194 79 39962 0 217 119 37160 1 156 59

****Use MATLAB only****

****Use MATLAB only****

****Use MATLAB only****

****Use MATLAB only**** ****Use MATLAB only**** ****Use MATLAB only**** 29955 1 160

29955 1 160 61
63596 1 194 79
39962 0 217 119
37160 1 156 59
47246 1 147 54
28176 1 163 62
26637 1 166 64

The body surface area (BSA) in m2 of a person (used for determining dosage of medica- tions) can be calculated by the formula (Mosteller formula): BSA= H *W 3131 in which H is the person's height in inches, and W is the persons weight in lb. (a) Write an anonymous function that calculates the body surface area. This function will be used in part b) below. (b) Given simulated data file named 'personalInfo.xlsx' that contains ID number(first col- umn), Gender(second column, 0: Male; 1:Female), Heigh(third column, measured in cm) and Weight (fourth coloumn, measured in KG). Write a program in a script file that determines the BSA. The program reads the personal information from data file, calculate BSA by calling the anonymous function in a) and store it (BSA) in the same variable. No loop or branch. Note: 1KG = 2.204616, and 1cm = 0.3937inch. (c) The average BSA is 1.9m2 for adult males and 1.6m2 for adult females. Compute the number of male and female whose BSA are above(>=) the average male BSA and female BSA separately. No Loop or Branch

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!