Simulink - starting calculations in subsystem with some delay

11 views (last 30 days)
Hi.
Let say I have two sine waves. I lead them into a subsystem, where I calculate difference between their amplitudes. From the same starting point I would like to lead them into another subsystem, where I multiply one of them with amplitude ratio. But that doesn't work, because when I calculate ratio, signals have already passed my second subsystem. Thus, I was thinking about some kind of delay for that second subsystem.
Any advice? Thanks

Answers (1)

@Johannes
@Johannes on 23 Sep 2015
Hello, there is a Memory Block in Simulink which applys one integration step delay to your simulation. This could be a Solution for your Problem.
Regards, John

Tags

Products

Community Treasure Hunt

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

Start Hunting!