Substracting two oscillating signals with different amplitudes in Simulink

Hi
I have two signals that change with respect to time. You can say that one has a maximum amplitude of 1.37 and other one has a maximum amplitude of 0.93 at t=5. I tried using both; a function block and a subtraction block to subtract these two signals. But instead of getting the result that I expect which should be (1.37-0.93) at that maximum point, I am getting 1.73. I have no idea what is going on. I am so confused.
Please help.

 採用された回答

Mischa Kim
Mischa Kim 2014 年 4 月 17 日

0 投票

James, check out the attached model. It does what you want to do with a subtraction block and should help get you started.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

質問済み:

2014 年 4 月 16 日

回答済み:

2014 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by