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!