Solving ODE and plot solutions.

1 次查看(过去 30 天)
Yat Sheng Kong
Yat Sheng Kong 2020-5-28
Hi everyone,
I want to solve this linear ODE and plot a solution for the condition below:
Here is what I try to do but I cannot get the plot.
syms E(t) C(t)
A = 1.1;
V = 1.1;
Q = 1.1;
ode = diff(C) == (A*E(t) - Q*C)/V;
cond = C(0) == 0
S = dsolve(ode,cond)
ezplot(S(1))
Thanks for your help

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by