如何用matlab求解时滞偏微分方程组

2024-12-01 09:52:52
推荐回答(1个)
回答1:

这是matlab中dde23的例子,通过这个例子,应该能看懂dde23个参数的作用.直接复制后边的代码就可以输出图形.
%DDEX1 Example 1 for DDE23.
% This is a simple example of Wille' and Baker that illustrates the
% straightforward formulation,computation,and plotting of the solution
% of a system of delay differential equations (DDEs).
%
% The differential equations
%
% y'_1(t) = y_1(t-1)
% y'_2(t) = y_1(t-1)+y_2(t-0.2)
% y'_3(t) = y_2(t)
%
% are solved on [0,5] with history y_1(t) = 1,y_2(t) = 1,y_3(t) = 1 for
% t