Question: matlab help xls _ patientvisits _ bp In this function, you will work with an Excel file that has multiple worksheets. The first row of

matlab help
xls_patientvisits_bp
In this function, you will work with an Excel file that has multiple worksheets. The first row of each of the worksheets is a header row containing column labels. The Excel file contains a worksheet named "patients" containing basic information about each patient, including "patientid" and "name" columns. The Excel file contains another worksheet named "visits" containing measurements collected during visits to the clinic. Each row of the visits table represents a patient's visit on a certain date. The visits table contains columns "patientid", "date", "weight", "systolic", and "diastolic".
Write a function that takes in such an Excel file's name (or file path),and a patient's name; and returns the average of the weight measurements of that patient across his/her multiple visits. Your function should also plot the history of the systolic and diastolic blood pressures of that patient across his/her visits. Your figure needs to have the same line colors. The x axis must show the visit number, not the date of the visit.
There may be additional columns in the Excel file not relevant to this problem. Column labels may be given in any case (upper or lower case)and columns may be in any order. The visits may not be sorted by date; your plot should show the measurements in the sorted order of dates.
You may only use xlsread()or readtable()to read in the Excel file.
matlab help xls _ patientvisits _ bp In this

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 Programming Questions!