资源简介
生物数学传染病模型matlab代码,无病平衡点和地方病平衡点稳定性代码
代码片段和文件信息
function sol = BM_dde23_wtl(ddefunlagshistorytspanoptionsvarargin)
%DDE23 Solve delay differential equations (DDEs) with constant delays.
% SOL = DDE23(DDEFUNLAGSHISTORYTSPAN) integrates a system of DDEs
% y‘(t) = f(ty(t)y(t - tau_1)...y(t - tau_k)). The constant positive delays
% tau_1...tau_k are input as the vector LAGS. The function DDEFUN(TYZ) must
% return a column vector corresponding to f(ty(t)y(t - tau_1)...y(t - tau_k)).
% In the call to DDEFUN T is the current t the column vector Y approximates y(t)
% and Z(:j) approximates y(t - tau_j) for delay tau_j = LAGS(J). The DDEs
% are integrated from T0 to TF where T0 < TF and TSPAN = [T0 TF].
% The solution at t <= T0 is specified by HISTORY in one of three ways: HISTORY
% can be a function of t that returns the column vector y(t). If y(t) is constant
% HISTORY can be this column vector. If this call to DDE23 continues a previous
% integration to T0 HISTORY is the solution SOL from that call.
%
% DDE23 produces a solution that is continuous on [T0TF]. The solution is
% evaluated at points TINT using the output SOL of DDE23 and the function
% DEVAL: YINT = DEVAL(SOLTINT). The output SOL is a structure with
% SOL.x -- mesh selected by DDE23
% SOL.y -- approximation to y(t) at the mesh points of SOL.x
% SOL.yp -- approximation to y‘(t) at the mesh points of SOL.x
% SOL.solver -- ‘dde23‘
%
% SOL = DDE23(DDEFUNLAGSHISTORYTSPANOPTIONS) solves as above with default
% parameters replaced by values in OPTIONS a structure created with the
% DDESET function. See DDESET for details. Commonly used options are
% scalar relative error tolerance ‘RelTol‘ (1e-3 by default) and vector of
% absolute error tolerances ‘AbsTol‘ (all components 1e-6 by default).
%
% SOL = DDE23(DDEFUNLAGSHISTORYTSPANOPTIONSP1P2...) passes the
% additional parameters P1P2... to the DDE function as DDEFUN(TYZP1P2...)
% to the history (if it is a function) as HISTORY(TP1P2...) and to
% all functions specified in OPTIONS. Use OPTIONS = [] as a place holder
% if no options are set.
%
% DDE23 can solve problems with discontinuities in the solution prior to T0
% (the history) or discontinuities in coefficients of the equations at known
% values of t after T0 if the locations of these discontinuites are
% provided in a vector as the value of the ‘Jumps‘ option.
%
% By default the initial value of the solution is the value returned by
% HISTORY at T0. A different initial value can be supplied as the value of
% the ‘InitialY‘ property.
%
% With the ‘Events‘ property in OPTIONS set to a function EVENTS DDE23
% solves as above while also finding where event functions
% g(ty(t)y(t - tau_1)...y(t - tau_k)) are zero. For each function
% you specify whether the integration is to terminate at a zero and whether
% the direction o
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 23754 2016-03-07 20:31 BM_dde23_wtl.m
文件 1642 2016-03-07 20:31 BM_Line.m
文件 2731 2016-03-07 20:31 xuejiede.m
文件 2479 2014-05-08 21:29 商宁程序\E0不稳定\shang1_1.m
文件 691240 2014-05-08 21:09 商宁程序\E0不稳定\unti
文件 2559 2014-05-08 21:09 商宁程序\E0全局稳定\shang1.m
文件 39781 2014-05-08 21:09 商宁程序\E0全局稳定\unti
文件 2500 2014-05-08 21:09 商宁程序\E2全局稳定\shang1_2.m
文件 163726 2014-05-08 21:09 商宁程序\E2全局稳定\unti
文件 3429 2014-05-08 21:09 商宁程序\E2局部稳定,E1为鞍点,E0局部稳定\shang12.m
文件 1132625 2014-05-08 21:09 商宁程序\E2局部稳定,E1为鞍点,E0局部稳定\unti
文件 659803 2016-09-05 13:11 商宁程序\hiv2.pdf
文件 740 2014-05-08 21:09 商宁程序\后向分支\shang1_0.m
目录 0 2017-03-30 10:59 商宁程序\E0不稳定
目录 0 2017-03-23 13:44 商宁程序\E0全局稳定
目录 0 2017-03-23 13:44 商宁程序\E2全局稳定
目录 0 2017-03-23 13:44 商宁程序\E2局部稳定,E1为鞍点,E0局部稳定
目录 0 2017-03-23 13:44 商宁程序\后向分支
目录 0 2017-04-29 13:04 商宁程序
----------- --------- ---------- ----- ----
2727009 19
评论
共有 条评论