필터 지우기
필터 지우기

How to create pulsed sine waves in SIMULINK - that turns off at intervals?

조회 수: 10 (최근 30일)
I want to generate sine wave signals that turn off for a specified period of time and then starts again. Is there a block in SIMULINK that would help me accomplish this.

채택된 답변

Peter O
Peter O 2021년 8월 4일
Assuming that the sine wave is allowed to restart at an arbitrary position, I think the cleanest way might be route the sine wave block through a product block. The second input is 1 if the time is within a "turn on" interval and zero otherwise.
If you need the sine wave to restart from zero on each on/off interval event then it's a little more involved. You'll still need an interval comparison, but that will need to trigger the sine wave to restart its angle. Still use the product block to zero or pass through the sine, but on each new zero crossing, update to the time of the latest zero crossing and . You can probably use the triggered subsystem construct to accomplish this.
  댓글 수: 3
Jonas
Jonas 2021년 8월 4일
Instead of a Step block, you need to use a Pulse Generator.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by