Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

* Can someone olease hell me with this as soon as possible The Body Mass Index ( BMI ) is a measure of obesity. To

*Can someone olease hell me with this as soon as possible
The Body Mass Index (BMI) is a measure of obesity. To calculate BMI use the formula below:
BMI=703((W))H2,W= weight in pounds ,H= Height in inches
The classification of a person's BMI is as follows:
\table[[BMI,Classification],[18.5,Underweight],[18.5 to 25,Normal],[25 to 29.9,Overweight],[>29.9,Obese]]
Write a MATLAB program that stores the following data in one or more arrays. Using the following data determines each person's BMI. The program must print out using an fprintf and/ or disp commands each person's initials, their BMI and what their weight classification is. You might wish to store the names in a separate array since they are alphanumeric. Your program must contain at least one loop and use the conditional operator 'if'.
\table[[Name,Height,Weight (lbs)],[A.A.,6 ft .2 in ).,180],[B.B.,5 ft .3 in ).,150],[C.C.,5 ft .6 in ).,112],[D.D,5 ft .11 in ).,160],[E.E.,5 ft .9 in ).,170],[F.F.,5 ft .5 in ).,185],[G.G.,6 ft .3 in ).,200]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions