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
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/536439-solving-ode-and-plot-solutions#comment_870403
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/536439-solving-ode-and-plot-solutions#comment_870403
Sign in to comment.