What function in Matlab is equivalent to the block in Simulink "Transport Delay"?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 28 Mar 2017
What is the input that is to be delayed? What does your code use as its clock?
Réponses (1)
Walter Roberson
le 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
1 commentaire
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!