Solving ODE and plot solutions.

조회 수: 1 (최근 30일)
Yat Sheng Kong
Yat Sheng Kong 2020년 5월 28일
댓글: Ameer Hamza 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
  댓글 수: 1
Ameer Hamza
Ameer Hamza 2020년 5월 28일
What is the equation for E(t)?

댓글을 달려면 로그인하십시오.

답변 (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