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

15 次查看(过去 30 天)
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

采纳的回答

Alexander
Alexander 2023-10-3
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.

更多回答(1 个)

Image Analyst
Image Analyst 2023-10-3
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!

Translated by