Computing Difference Between two timeseries objects.

6 Ansichten (letzte 30 Tage)
Sirish Selvam
Sirish Selvam am 27 Mär. 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;

Antworten (0)

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by