Associating csv data with matrix & Matrix creation for Day of Year / time
Mostrar comentarios más antiguos
Hi,
I have a set of data which has one column as the day of year (i.e. 144 for 23/5/12 during this leap year), the next column is time in the format 1352 for 1:52 pm, then two columns of instrument data (mV).
i.e. 110,1352,2.648,1.889
What i want to do is import this into MatLab (i've figured this out) and then i need to sift through the data and grab the relevant times. I only want data between 8 am and 4 pm, and the data file has some missing time lines (a minute here and there).
Hence i need to create a DATA matrix with a day of year column (DOY), then a time column and two spare columns and then i need to search the IMPORTED csv matrix for the DOY and time and then grab the two mV readings and place them.
I then need to make a 5 min average of the imported data and compare it to the DATA matrix (i.e. compare the average of 13:51-13:55 to in individual reading of 13:52).
I'm quite new to MatLab and was hoping someone could steer me in the right direction. I don't necessarily want you to do the problem for me, you could simply list the commands you think would be used and i'll go look them up.
Many thanks and Kind Regards.
Orfeo
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!