Filing/interpolation of irregular sample time series multivariate data

조회 수: 3 (최근 30일)
B
B 2019년 12월 7일
댓글: Star Strider 2019년 12월 7일
Hello,
I have an irregular time series sample data with multiple variables, and I would like to fill in the gaps (filling or interpolation) to get daily data for all the variables at one interpolation. The data is a attached.
Can anyone be of help, please?
Ed

채택된 답변

Star Strider
Star Strider 2019년 12월 7일
Try this:
T1 = readtable('Edward Bam Eddata.txt');
T2 = table2timetable(T1, 'RowTimes','TimeStamp');
T3 = retime(T2, 'daily','linear'); % Desired Result
See the documentation on the retime function for additional options for the interpolation.
Avoiding the intermediate steps using readtimetable is also an option. I chose to do the intermediate steps so that I could see them, since I was unfamiliar with your file.
  댓글 수: 4

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

shadman khan
shadman khan 2019년 12월 7일
firstly i am not an exxpert
but simple help for you is :cftool matlab
it has multiple variable regression
  댓글 수: 1
B
B 2019년 12월 7일
Hello shadman khan , Thanks for the attempt...the second answer works perfectly...you wana try it?

댓글을 달려면 로그인하십시오.

카테고리

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