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 Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by