Solve the system the differential equation with time-delays

조회 수: 4 (최근 30일)
Hoang Vu Huy
Hoang Vu Huy 2023년 7월 4일
댓글: Hoang Vu Huy 2023년 7월 5일
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.

답변 (1개)

Jason Nicholson
Jason Nicholson 2023년 7월 4일
Check out dde23. You need to write ddefun(t, y, Z).

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by