Mutiple Time series synchronization
이전 댓글 표시
Hi
I want to synchronize multiple time series
Can any suggest how to do it.
Thanks
댓글 수: 9
Life is Wonderful
2019년 8월 14일
Guillaume
2019년 8월 14일
The synchrosize function (for timeseries) has several synchronisation methods, which one do you want to use?
Note that synchronisation does not affect the duration of a series, it only changes at which period that series is sampled.
If you want to make a time series longer (in period, not number of samples) then you will have to extrapolate. If you want to make it shorter, you'll simply have to clip it.
Life is Wonderful
2019년 8월 14일
편집: Life is Wonderful
2019년 8월 14일
Guillaume
2019년 8월 14일
Right, so you don't have timeseries. Perhaps, firmware_FAFTSetup_DEBUG is a timetable? Or a table? Or maybe a plain structure? In any case, it's important to use the correct term.
In order to extrapolate, you need a fit for your data. What sort of fitting function are you planning to use?
Life is Wonderful
2019년 8월 14일
편집: Life is Wonderful
2019년 8월 14일
Guillaume
2019년 8월 14일
The synchronisation method applies to the timing of your data, not to the data itself. You're not going to extrapolate a sinusoid the same way you extrapolate a line.
Life is Wonderful
2019년 8월 14일
Life is Wonderful
2019년 8월 15일
Guillaume
2019년 8월 15일
My goal is to get a common time series with text data
If it's textual data, I have no idea why you were asking about extrapolation. How do you extrapolate text?
Anyway, to synchronize several timetables you'd simply do it in a loop. I can show you how it's done once I understand what the inputs are. So far, you seem to have shown date variables, a timeseries or timetable needs date and data to be useful.
I'm not even sure what kind of data you have, so please state whether it's timeseries, timetable, table or something else.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!