How do you plot this differential equation on matlab?
C(dV/dt) = I(t) - V(t)/R
Where C= 100e-12 F
R = .6e-9 Ohms
Vrest = -65e-3 V
And I(t) is ay simple function of t (I=t)
And we are solving for V

댓글 수: 2

madhan ravi
madhan ravi 2019년 2월 25일
Brest is the initial condition?
Ashwin Krishna
Ashwin Krishna 2019년 2월 25일
Yes, it is.

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

 채택된 답변

madhan ravi
madhan ravi 2019년 2월 25일
편집: madhan ravi 2019년 2월 25일

0 개 추천

syms V(t)
C=...
R=...
Vrest=...
ode=C*diff(V)==t-V/R;
V(t)=dsolve(ode,V(0)==Vrest);
fplot(V(t))

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2019년 2월 25일

편집:

2019년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by