Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Example data sets in Matlab

Tags:

dataset

matlab

There are several example data sets in Matlab, for example wind and mri. If you execute the command load wind you will load the data in the data set wind. Some are included in toolboxes and some appear to be included in standard Matlab. These example data sets are valuable as test data when developing algorithms.

Where can one find a list of all such data sets included in Matlab?

like image 237
Martin Stålberg Avatar asked Oct 24 '13 14:10

Martin Stålberg


2 Answers

You can enter demo in matlab to get a list. The wind table is part of Example — Stream Line Plots of Vector Data, etc.

For the tables on your computer, have a look at:

C:\Program Files\MATLAB\R2007b\toolbox\matlab\demos
like image 93
Patrik Avatar answered Oct 22 '22 06:10

Patrik


The example data is located in .mat files in ../toolbox/matlab/demos. The following data is available in MATLAB 2014a:

% in matlab run:
> H=what('demos')
> display(H.mat)

You can also use your favorite Linux console:

/usr/local/MATLAB/R2014a/toolbox/matlab/demos$ ls *.mat -1 | sed -e "s/.mat//g"

This is my list for readers who can not try it on their machine while reading this answer:

accidents
airfoil
cape
census
clown
detail
dmbanner
durer
earth
flujet
gatlin
gatlin2
integersignal
logo
mandrill
membrane
mri
patients
penny
quake
seamount
spine
stocks
tetmesh
topo
topography
trimesh2d
trimesh3d
truss
usapolygon
usborder
vibesdat
west0479
wind
xpmndrll

While the command demo in MATLAB 2018b will start a help browser with some demos: help on demo in matlab 2018b

like image 28
Jonas Stein Avatar answered Oct 22 '22 07:10

Jonas Stein