フィルターのクリア

max between 2 timeseries signals

3 ビュー (過去 30 日間)
Tania Izquierdo
Tania Izquierdo 2016 年 11 月 14 日
コメント済み: Ahmet Cecen 2016 年 11 月 14 日
I have two signals generated by timeseries. I would like to compare them and get the signal result. I use the C=max(A,B) but I got errors
Error using timeseries/utStatCalculation (line 45) A specified property is missing a corresponding value.
Error in timeseries/max (line 25) out = utStatCalculation(this,'max',varargin{:});
Error in test_signal_C (line 17)
What function should I use to calculate the max?

回答 (2 件)

Ahmet Cecen
Ahmet Cecen 2016 年 11 月 14 日
Maybe C=max(A.Data,B.Data)? You problem definition is a little vague, what exactly are you trying to find?
  1 件のコメント
Ahmet Cecen
Ahmet Cecen 2016 年 11 月 14 日
Use comment instead of a new answer.
You can find the indices that correspond to the maximum values using:
[M,Index] = max()
Then access A.Time(Index) to find the time.

サインインしてコメントする。


Tania Izquierdo
Tania Izquierdo 2016 年 11 月 14 日
I try to find the maximum value comparing two ramp signals. I have implement your suggestion but I have problems with times.

カテゴリ

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