How can I load only a certain range of a data file (.mat)?

6 Ansichten (letzte 30 Tage)
Amjad
Amjad am 22 Mär. 2013
I have a data file with extintion (.mat) that contains temptature data for each minute for 5 days. So, each 1440 records in the file belong to one day. Note that each record is related to a certain date and time.
My question is: How can I use the data of each day separately, or load only a specific range of the data file rather than loading the whole data file?

Akzeptierte Antwort

Richard Alcock
Richard Alcock am 27 Mär. 2013
Have a look at the matfile function (Introduced in MATLAB R2011b). This should allow you to load only the part of the data you are interested in.

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by