MATLAB Answers

Amjad
0

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

Asked by Amjad
on 22 Mar 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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Richard Alcock on 27 Mar 2013
 Accepted Answer

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.

  0 Comments

Sign in to comment.