What function in Matlab is equivalent to the block in Simulink "Transport Delay"?
2 次查看(过去 30 天)
显示 更早的评论
I want to use a delay function that does exactly what the block in Simulink "Transport Delay" does. I tried to use the function "delayseq" but that requires sampling frequency along the time delay. Any idea? Thanks in advance
2 个评论
Walter Roberson
2017-3-28
What is the input that is to be delayed? What does your code use as its clock?
回答(1 个)
Walter Roberson
2017-3-28
ode15s is the wrong function for solving delay differential equations. Have a look at https://www.mathworks.com/help/matlab/delay-differential-equations.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!