MATLAB Answers

Solving ODE and plot solutions.

7 views (last 30 days)
Yat Sheng Kong
Yat Sheng Kong on 28 May 2020
Commented: Ameer Hamza on 28 May 2020
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)
Thanks for your help

  1 Comment

Ameer Hamza
Ameer Hamza on 28 May 2020
What is the equation for E(t)?

Sign in to comment.

Answers (0)



Community Treasure Hunt

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

Start Hunting!

Translated by