Simulink - starting calculations in subsystem with some delay

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

回答 (1 件)

@Johannes
@Johannes 2015 年 9 月 23 日

0 投票

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

カテゴリ

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

製品

タグ

質問済み:

2015 年 9 月 20 日

回答済み:

2015 年 9 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by