Changing Resolution of Time Series Data
12 views (last 30 days)
Show older comments
I work with a lot of time series data at differing resolutions but mainly daily and hourly. However, the raw data can often come in at 15 min or 30 min resolution. The data are received in a struct with 4 fields: tag, meter, read and timestamp. I am certainly capable of writing some code to sum up this raw data to hourly or daily resolution but it may not be the most efficient or readable code. Therefore, could you please leave me with some starting ideas, useful functions or sources of information that might be be of some use.
A direct, concise question would be: "How should someone go about summing up high resolution data?".
0 Comments
Answers (1)
Walter Roberson
on 6 Oct 2015
One approach would be to use a table and then to use the grouping variables in calculations; see http://www.mathworks.com/help/matlab/matlab_prog/calculations-on-tables.html#zmw57dd0e23027
0 Comments
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!