Question: load patients.mat; b. Using a single line of code, create a new table called youngPatients which stores only the rows of patients corresponding to patients
load patients.mat;
b. Using a single line of code, create a new table called youngPatients which stores only the rows of patients corresponding to patients age 30 and under. Using a separate line of code, create a new table called oldPatients which stores only the rows of patients corresponding to patients age 31 and over. All columns of patients should be represented in these two tables. Your patients data set should stay as-is, but you can index it (I recommend logical indexing) to create the new tables (1 point)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
