Unit delay connected to pulse generator
古いコメントを表示
I connected pulse generator followed by unit delay to scope, in pulse generator period is 1 sec, pulse width 5%, In unit delay sample time is -1 (inherited)
But the pulses from unit delay are little delayed nearly 0.05 sec(width of actual pulse) and pulse width is 20%
I checked this with a mean block,I expected that unit delay would give delay of 1 sec by default to the pulses with width 5%
what unit delay does here.?
回答 (1 件)
Azzi Abdelmalek
2012 年 11 月 24 日
編集済み: Azzi Abdelmalek
2012 年 11 月 24 日
1 投票
You said that Sample time is inherited, which means it's inherited from your step size (variable or fixed). If you want 1s then set a sample time to 1.
4 件のコメント
V Vaishnavi Kumar
2012 年 11 月 24 日
Azzi Abdelmalek
2012 年 11 月 24 日
編集済み: Azzi Abdelmalek
2012 年 11 月 24 日
I don't think the width can be changed with unit delay block. Check again the width of your pulse, unless the step size is variable. then set a sample time of your unit delay to 1 and check again.
V Vaishnavi Kumar
2012 年 11 月 24 日
Azzi Abdelmalek
2012 年 11 月 24 日
If your unit dealy sample time is greater then your pulse generator period, the unit delay block will give anything!
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!