Substracting two oscillating signals with different amplitudes in Simulink

2 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Event Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!