MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun

发布时间:2021-02-26 09:37:35

MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun,tau,history,tspan,options)ddetun:描述延迟微分方程的句柄 tau=[tau1,tau2,...,taun]延迟微分方程function dx=ddefun(t,x,z)我想问的是 这里的Z表示的是什么?是个关于延迟的向量?例如function dx=ddefun(t

网友回答

这是matlab中dde23的例子,通过这个例子,应该能看懂dde23个参数的作用.直接复制后边的代码就可以输出图形.
%DDEX1 Example 1 for DDE23.
% This is a simple example of Wille' and Baker that illustrates the
% straightforward formulation,putation,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
以上问题属网友观点,不代表本站立场,仅供参考!