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 ExchangeSymbolic 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