
Not able to plot delay for sine wave using triggered subsystem
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Vinay
on 21 Jan 2025
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 Comments
Vinay
on 21 Jan 2025
Hi Siddharth,
I have attached a working Simulink model showing delay in the sine wave at the output.
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!