Question
Matlab Using the import tool, import the cardiac resynchronization therapy (CRT) data. The data is used to calculate if a patient is eligible for CRT
Matlab
Using the import tool, import the cardiac resynchronization therapy (CRT) data. The data is used to calculate if a patient is eligible for CRT treatment and organized as follows:
Column 1 Patient ID
Column 2 NYHA class (New York Health Association symptom severity)
Column 3 6MWD (6 minute walk distance in meters)
Column 4 EF (left ventricular ejection fraction in percent)
If the following are all TRUE, then a patient is eligible for CRT treatment
NYHA is 3 or higher
6MWD is less than 225 meters
EF is less than 35%
Write a script to check what patient IDs in the data are eligible for CRT. Write the patient IDs that are eligible to a text file that is titled CRTApprove and delimited with a semicolon.
Note: Your script should be robust so that if a larger or smaller data set was used, it still works. Avoid hard coding indexes.
CRT data
1;3;250;30 2;4;170;25 3;2;210;40 4;3;200;33
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started