Synchronize timetable, using different methods for each column
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all,
Is it possible to synchronise two timetables in matlab by using different methods for each column?
For example, below shows the way that I am currently synchronizing the time tables, which synchornizes all columns (i.e. the variables) according to the 'previous' method:
% Unsynchronized time tables
TT1 = timetable(Date1, Spend1, Balance1) ;
TT2 = timetable(Date2, Spend2, Balance2) ;
% Synchronizing the above time tables
TTSync = synchronize(TT1, TT2, 'daily', 'previous') ;
However, I would like to synchronize columns Spend1 and Spend2 according to the 'fillwithconstant' method.
This is indeed not a huge problem, since i could achieve the above by simply splitting the time tables, however since i am already splitting the time tables for other reasons, and I have to processing multiple time tables to begin with, being able to perform the task that I just explained above would save me a lot of lines in the code.
Thanks for your help in advance.
KR,
KMT.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Tables in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!