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 newload 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

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!