How to provide a delay in seconds from an external block to a pulse generated by another block?

1 回表示 (過去 30 日間)
PWM pulse is generated comparing sinusoidal block and reference sawtooth block. now i have to provide a delay of one microseconds to this pulse.Kindly help me how to acheive this task.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 18 日
Use a unit delay block
  8 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 20 日
Then set the sample time of your pulse generator and the unit delay block to 1e-6
M A ullaah
M A ullaah 2013 年 7 月 27 日
編集済み: M A ullaah 2013 年 7 月 27 日
"with a fixed step just by replacing the sample time of a delay block one can get the required delay" as said by u mr.azzi. But in this method the rising edge is delayed correctly but not the falling edge. Any other method can u suggest. or m-file coading? plz

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by