Interpolate from monthly to annual time series
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sarah Yun
am 28 Dez. 2019
Beantwortet: Star Strider
am 28 Dez. 2019
Hi,
I have irregular spaced montly sales data - 2 values for 2 months, 1 value for another month etc
i want to interpolate this data to regular annual intervals
I want to use the function
What I use for xq value?
Thank you.
Sarah.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 28 Dez. 2019
‘What I use for xq value?’
You don’t.
Instead, you convert them to a timetable (create your matrix as a table, then use use table2timetable to convert it to a timetable), then use the retime function to get the annual mean values. See the retime documentation sections on newTimeStep and method for an explanation of how to use those arguments.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Timetables 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!