how to shift a pulse by predefined time in simulink environment?

1 回表示 (過去 30 日間)
M A ullaah
M A ullaah 2013 年 7 月 26 日
In matlab simulink environment how to give a delay of predefined time to a pulse other than unit delay block. By changing the sample time in the block only rising edge is shifted but the falling edge to an equal amount.Can you give some m file coading to achieve this task.
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 26 日
編集済み: Azzi Abdelmalek 2013 年 7 月 26 日
Are you using Simulink? and give more details

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

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 27 日
Instead of setting the sample time to ts, you can add an offset to like this
Sample time = [ts to]

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by