Interpolate to monthly time series
8 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have a timeseries of time against temperature - smallest unit of time is hour
I want to interpolate so the month is the smallest unit of time.
How should I use this function to do this?
vq = interp1( x , v , xq )
Thank you
0 件のコメント
採用された回答
Walter Roberson
2019 年 12 月 27 日
We recommend converting your timeseries to a timetable() object and then using retime()
2 件のコメント
Walter Roberson
2019 年 12 月 27 日
https://www.mathworks.com/help/matlab/ref/timetable2table.html adds the times back in as a column in the table. Or you can
timeseries(YourTimeTable{:,:}, YourTimeTable.Properties.RowTimes)
to create a timeseries object.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Time Series についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!