how to shift a pulse by predefined time in simulink environment?
1 次查看(过去 30 天)
显示 更早的评论
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
2013-7-26
编辑:Azzi Abdelmalek
2013-7-26
Are you using Simulink? and give more details
回答(1 个)
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]
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!