how to introduce delay in matlab code
1 次查看(过去 30 天)
显示 更早的评论
I need to add two variables x and y. I will be getting the value of y after 4 seconds. how to mention it in matlab code? Is there any option to mention it in code or i should use simulink only. If we use simulink, whats the procedure for it, because initially i am getting the error as use discrete states alone.
1 个评论
Azzi Abdelmalek
2012-10-20
It's not clear, what are you using (Matlab or Simulink), which delay are you talking about? if you have tryed to make a code post it.
回答(1 个)
Azzi Abdelmalek
2012-10-20
编辑:Azzi Abdelmalek
2012-10-20
If you are using Simulink, you can use a Unit Delay block from Simulink/Discret
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!