Structure array or Dataset
Show older comments
Hi everyone,
My main objective is to organize data measured from 2 sonic anemometers. This data is divided in 10 minute files with 6000 lines and 4 columns for each sensor and is generated continuously. As so, the amount of data is quite big when trying to analyse longer periods.
The raw time-series information doesn't need to be accessible all the time, but only certain statistical information obtained after some processing. So, my idea is to organize the data in a structure array or dataset with a path name and file name pointing to the physical location of the original file and the statistical information obtained from the data processing. So, each data file would be represented by a line with the file location, time stamp, mean speeds, mean directions and others properties.
It would be very important for me to be able to easily identify data files with certain characteristics, for example: every file measured in the month of march with mean wind speed above 5m/s; or every file where wind speed is between 3 and 4m/s and direction between 90º and 180º.
I've been using structures for some time and know that this conditional selection can be an hard task. On the other side, I've never used datasets, but noticed that they take significantly more space and cannot be opened in a regular text editor.
I would like to ask you what is the best option for my specific case. Should I use structure array or dataset?
Thank you all in advance,
Nuno
1 Comment
Laurens Bakker
on 10 Mar 2012
Hi Nuno,
In what context did you find datasets using more memory than structures? From my experience, data sets are usually more memory-efficient...
Cheers,
Laurens
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets 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!