Not able to plot delay for sine wave using triggered subsystem

1 次查看(过去 30 天)
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
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 个评论
Vinay
Vinay 2025-1-21
Hi Siddharth,
I have attached a working Simulink model showing delay in the sine wave at the output.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by