Mutiple Time series synchronization
Ältere Kommentare anzeigen
Hi
I want to synchronize multiple time series
Can any suggest how to do it.
Thanks
9 Kommentare
Life is Wonderful
am 14 Aug. 2019
Guillaume
am 14 Aug. 2019
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
am 14 Aug. 2019
Bearbeitet: Life is Wonderful
am 14 Aug. 2019
Guillaume
am 14 Aug. 2019
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
am 14 Aug. 2019
Bearbeitet: Life is Wonderful
am 14 Aug. 2019
Guillaume
am 14 Aug. 2019
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
am 14 Aug. 2019
Life is Wonderful
am 15 Aug. 2019
Guillaume
am 15 Aug. 2019
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Type Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!