Computing Difference Between two timeseries objects.

11 次查看(过去 30 天)
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;

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time Series 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by