Not able to plot delay for sine wave using triggered subsystem

I am trying to use delay within the triggered subsystem and I am still getting a flat line as plot , I have tried increasing sample time or adding delay outside of the subsystem but still I am not getting the answer.

回答 (1 件)

Vinay
Vinay 2025 年 1 月 21 日

0 投票

The triggered subsystem triggers the system at the rising edge of the control signal and holds the signal value until the next rising edge.
To incorporate a delay within this subsystem, a "Delay" block can be added, which allows for the introduction of a specified number of cycle delays. I have attached the Simulink model illustrating how the delay is implemented within the subsystem block.
I hope this resolves the query!

3 件のコメント

Siddharth
Siddharth 2025 年 1 月 21 日
Hello Sir,
Thank you for your reply , I have tried adding delay in the subsystem as well but still the result remains same . I have connected sine wave to input of subsystem and square waveform to trigger .
Vinay
Vinay 2025 年 1 月 21 日
Hi Siddharth,
I have attached a working Simulink model showing delay in the sine wave at the output.
Siddharth
Siddharth 2025 年 1 月 22 日
Thank you sir , it was helpful.

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

カテゴリ

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

製品

リリース

R2023a

タグ

質問済み:

2025 年 1 月 20 日

コメント済み:

2025 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by