- To interpolate the values for every minute you can use the INTERP1 function as explained here .
- To calculate the mean values for one year use the MEAN function over the corresponding data. Click here to know more about the MEAN function.
- Similarly use the STD function to compute the standard deviation as explained here .
Irregular (long-)time series is to be interpolated as well mean value and standard deviation to be calculated. How?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I´ve imported data from a .mat file with dates (this format: '2010-02-25 14:49:00', comment:second values are 00 for all dates ) and values (format: 1.23) . Then I converted the date by using datenum() to a number and created a matrix F1 (85888 x 2 double), see below:
734194.617361111 | 0.61
734194.638194445 | 0.57
734194.659027778 | 0.68
. . . .
The Values are from feb 2010 until dec 2015....BUT on irregular time intervalls.
Now I want to
1. interpolate the values so that I have a value for every Minute.
2. cummulate all values to determine the mean values for one single year.
3. calculate the standard deviation over the whole year.
Please assist.
btw: I´m kind a newbee
0 Kommentare
Antworten (1)
sam0037
am 15 Feb. 2016
Hi Endric,
Thanks, Shamim
0 Kommentare
Siehe auch
Kategorien
Mehr zu NaNs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!