MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun,tau,history,tspan,options)ddetun:描述延迟微分方程的句柄 tau=[tau1,tau2,...,taun]延迟微分方程function dx=ddefun(t,x,z)我想问的是 这里的Z
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/11 07:35:40
![MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun,tau,history,tspan,options)ddetun:描述延迟微分方程的句柄 tau=[tau1,tau2,...,taun]延迟微分方程function dx=ddefun(t,x,z)我想问的是 这里的Z](/uploads/image/z/13424902-70-2.jpg?t=MatLAB+%E4%B8%AD%E8%A7%A3%E6%97%B6%E6%BB%9E%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B+%E6%80%8E%E4%B9%88%E5%86%99%3FMatLAB%E4%B8%AD%E8%A7%A3%E6%97%B6%E6%BB%9E%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8Bsol%3Ddde23%28ddefun%2Ctau%2Chistory%2Ctspan%2Coptions%29ddetun%3A%E6%8F%8F%E8%BF%B0%E5%BB%B6%E8%BF%9F%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B%E7%9A%84%E5%8F%A5%E6%9F%84+tau%3D%5Btau1%2Ctau2%2C...%2Ctaun%5D%E5%BB%B6%E8%BF%9F%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8Bfunction+dx%3Dddefun%28t%2Cx%2Cz%29%E6%88%91%E6%83%B3%E9%97%AE%E7%9A%84%E6%98%AF+%E8%BF%99%E9%87%8C%E7%9A%84Z)
MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun,tau,history,tspan,options)ddetun:描述延迟微分方程的句柄 tau=[tau1,tau2,...,taun]延迟微分方程function dx=ddefun(t,x,z)我想问的是 这里的Z
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,x,z)
dx=[1-3*x(1)-A-0.2*B^3-tau2(1)
x(3)
4*x(1)-2*x(2)-3*x(3)];
我这里A想表示为x2(t-tau1),B想表示为x1(t-tau2),这个A和B该怎么写?这里Z具体表示的是什么东西?
希望有人能回答,
MatLAB 中解时滞微分方程 怎么写?MatLAB中解时滞微分方程sol=dde23(ddefun,tau,history,tspan,options)ddetun:描述延迟微分方程的句柄 tau=[tau1,tau2,...,taun]延迟微分方程function dx=ddefun(t,x,z)我想问的是 这里的Z
这是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