Clear Filters
Clear Filters

Where can I download the data in excel which is used in MATLAB for example patients.mat etc

12 views (last 30 days)
I am using MATLAB for statistical analysis and they have used a lot of data to show each topics but I want to download these data to better understand each functions and the output

Accepted Answer

Alexander
Alexander on 3 Oct 2023
Try this:
load patients.mat
patients = table(LastName,Gender,Age,Height,Weight,Smoker,Systolic,Diastolic);
writetable(patients, "patients.xlsx","FileType","spreadsheet")
Details you can find in help table and help writetable.
Hope it helps.

More Answers (1)

Image Analyst
Image Analyst on 3 Oct 2023
On my computer it is here:
C:\Program Files\MATLAB\R2023b\toolbox\matlab\demos\patients.mat

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!