What function in Matlab is equivalent to the block in Simulink "Transport Delay"?
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 28 Mar 2017
What is the input that is to be delayed? What does your code use as its clock?
Answers (1)
Walter Roberson
on 28 Mar 2017
ode15s is the wrong function for solving delay differential equations. Have a look at https://www.mathworks.com/help/matlab/delay-differential-equations.html
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!