Not able to plot delay for sine wave using triggered subsystem

조회 수: 3 (최근 30일)
Siddharth
Siddharth 2025년 1월 20일
댓글: Siddharth 2025년 1월 22일
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.
Siddharth
Siddharth 2025년 1월 22일
Thank you sir , it was helpful.

댓글을 달려면 로그인하십시오.

카테고리

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