Question: MatLab Code 2: The text file bpdata.txt contains the follow systolic blood pressure, diastolic blood pressure. Write a MATLAB script that calculates if each individual
Code 2: The text file bpdata.txt contains the follow systolic blood pressure, diastolic blood pressure. Write a MATLAB script that calculates if each individual in the data set is "Ideal", "Pre-High", or "High" blood pressure classification. Classification is based on the following: ing information in each column: ID #, name, 1. Ideal: Systolic> 90 and 60 and 120 and 80 and 140 and Diastolic> 90 Save the classification and names with each classification to an Excel file called "BPResults". An example of what the Excel file data would look like is given below. 1 Ideal Pre-High 2 Bob Brad 3 Jane Thomas High Charollete Stan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
