필터 지우기
필터 지우기

Interpolate from monthly to annual time series

조회 수: 3 (최근 30일)
Sarah Yun
Sarah Yun 2019년 12월 28일
답변: Star Strider 2019년 12월 28일
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.

채택된 답변

Star Strider
Star Strider 2019년 12월 28일
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개)

카테고리

Help CenterFile Exchange에서 Preprocessing Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by