Computing Difference Between two timeseries objects.

6 ビュー (過去 30 日間)
Sirish Selvam
Sirish Selvam 2019 年 3 月 27 日
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 Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by