Solve the system the differential equation with time-delays

4 visualizaciones (últimos 30 días)
Hoang Vu Huy
Hoang Vu Huy el 4 de Jul. de 2023
Comentada: Hoang Vu Huy el 5 de Jul. de 2023
I want to solve a system with is vector at point t, is vector at point , A is a matrix.
I used to solve system without time-delay τ with ode45 and define
function dpdt = control_law(t,p)
dpdt = A*p;
end
However, I don't know how to define function with time-delay. Please give a hint, thanks.

Respuestas (1)

Jason Nicholson
Jason Nicholson el 4 de Jul. de 2023
Check out dde23. You need to write ddefun(t, y, Z).

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by