Replace a variable in differential equation with 0

1 次查看(过去 30 天)
I want to reduce this equation by having beta = 0. so that the terms having beta get removed.
((Lemda-((SigmaT(t)).*T))-BetaV(t).*T(t))

采纳的回答

Walter Roberson
Walter Roberson 2021-6-13
syms T(t) SigmaT(t) BetaV(t) Lemda To
ode = diff(T,t) == ((Lemda-((SigmaT(t)).*T))-BetaV(t).*T(t))
ode(t) = 
cond = T(0) == To;
zerofun(t) = sym(0)
zerofun(t) = 
0
modified_ode = subs(ode, BetaV, zerofun)
modified_ode(t) = 
Solution = dsolve(modified_ode, cond)
Solution = 
  2 个评论
Fahad Ramzan
Fahad Ramzan 2021-6-13
Are these answers the same? Because the solution goes this way where i made assumptions as following
%Assumptions
% Lemda = constant input source of uninfected cells per day
% Sigma = normal loss rate constant of uninfected cells
% Beta = infection rate constant of uninfected cells per infected cell
% Mu = loss rate constant of infected cells
% Gamma = loss rate constant of free virus
% N = number of virions produced per day per infected cell
Walter Roberson
Walter Roberson 2021-6-13
Sorry, I am having difficulty reading the image in places, and some of the pieces I think maybe I can read, do not make sense mathematically.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by