필터 지우기
필터 지우기

Matlab 2016b to 2018b compatibility for fints

조회 수: 5 (최근 30일)
Rajdeep Patgiri
Rajdeep Patgiri 2019년 3월 4일
답변: Pruthvi Muppavarapu 2019년 3월 13일
Hello,
I'm trying to convert my 2016b code that uses fints. The main line is:
monthlyData = tomonthly(dailyData, 'CalcMethod', 'Nearest', 'BusDays', 0, 'ED', 31) ;
Which gives me the end of the month values from the dailyData. How do I do something equivalent in 2018b with timetable? I tried the following:
monthlyData = retime(dailyData, 'monthly', 'lastvalue', 'IncludedEdge', 'right') ;
But the above syntex results in the data and the corresponding dates being start of the month (which is wrong).
Can you please help?
Thank you,
Rajdeep

답변 (1개)

Pruthvi Muppavarapu
Pruthvi Muppavarapu 2019년 3월 13일
The following answer addresses a similar issue. Try doing as mentioned in the answer and it might able you to use “retime”.

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by