Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

qustion 5 please explaine step by step A group of patients have had their height in centimeters recorded as follows: 159, 185, 170, 169, 163,

image text in transcribed qustion 5 please explaine step by step
A group of patients have had their height in centimeters recorded as follows: 159, 185, 170, 169, 163, 180, 177, 168 and 175 cm. The same patients weight in kilograms are: 59, 88, 75, 77, 68, 90, 93, 76 and 70 kg. Write a script to perform the following tasks (100 points): 1. Store the height and weight in separate arrays (10 points) 2. Calculate the maximum height and maximum weight from the data (20 points) 3. Create a new array that converts the weight from kilograms to pounds (20 points) 4. Calculate the BMI (body mass index) of each patient. What is the max and min BMI? (BMI m/h? where m= mass in kg, h= height in meters) (20 points) 5. Is the patient with the highest BMI also the same patient with the largest weight? (20 points) To do this (without any loops), use the following format of the in-built max function in MATLAB: [x,y] =max(a) Here, a is an array x is the maximum value in the array y is the location of the maximum value in the array

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_2

Step: 3

blur-text-image_3

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

Successful Keyword Searching Initiating Research On Popular Topics Using Electronic Databases

Authors: Randall MacDonald, Susan MacDonald

1st Edition

0313306761, 978-0313306761

More Books

Students also viewed these Databases questions

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago

Question

6. The cost of the training creates a need to show that it works.

Answered: 1 week ago