Question: Problem 3: In this problem, you will be writing a MATLAB script that will determine a person's blood pressure category. The user will have to

 Problem 3: In this problem, you will be writing a MATLAB

Problem 3: In this problem, you will be writing a MATLAB script that will determine a person's blood pressure category. The user will have to input the systolic and diastolic blood pressure readings. Based on the readings and using the table below, the program will determine and output the catego Categor Hvpotension Low Blood Pressure Normal Pre-hypertension Mild Hvpertension (Stage 1 Moderate Hypertension (Stage2 Severe Hvpertension (Stage 3 Very Severe Hypertension (Stage 4 Systolic 50-89 90-119 120-139 140-159 160-179 180-209 210-239 Diastolic 35-59 60-79 80-89 90-99 100-109 110-119 120-135 Other Requirements for the Program: 1. Your program should first check for invalid readings and should output a message for invalid readings. Systolic or Diastolic readings that fall below or above the readings in the table are invalid. If a person's readings put them in two different categories, the higher category should be selected. For example, someone with a blood pressure reading of 118/85 would be categorized as normal for the systolic reading and pre-hypertension for the diastolic 2. Problem 3: In this problem, you will be writing a MATLAB script that will determine a person's blood pressure category. The user will have to input the systolic and diastolic blood pressure readings. Based on the readings and using the table below, the program will determine and output the catego Categor Hvpotension Low Blood Pressure Normal Pre-hypertension Mild Hvpertension (Stage 1 Moderate Hypertension (Stage2 Severe Hvpertension (Stage 3 Very Severe Hypertension (Stage 4 Systolic 50-89 90-119 120-139 140-159 160-179 180-209 210-239 Diastolic 35-59 60-79 80-89 90-99 100-109 110-119 120-135 Other Requirements for the Program: 1. Your program should first check for invalid readings and should output a message for invalid readings. Systolic or Diastolic readings that fall below or above the readings in the table are invalid. If a person's readings put them in two different categories, the higher category should be selected. For example, someone with a blood pressure reading of 118/85 would be categorized as normal for the systolic reading and pre-hypertension for the diastolic 2

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!