Computing Difference Between two timeseries objects.

8 vues (au cours des 30 derniers jours)
Sirish Selvam
Sirish Selvam le 27 Mar 2019
I have two timeseries objects Ts and Ts2. They initially were sampled at different time instants, so I synchronised them using synchronize function. Now I need to compute the difference ( in order to calculate error in Data). How do I do this?. This i what I tried. When I do this, it is showing error: OUT of MEMORY.
[Ts,Ts2]=synchronize(Ts,Ts2,'union');
temp=Ts.Data(1:size(Ts2.Data))-Ts2.Data;

Réponses (0)

Catégories

En savoir plus sur Time Series dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by