フィルターのクリア

How to Plot Multivariate Differential Equation in MATLAB?

1 回表示 (過去 30 日間)
Hassan Ashraf
Hassan Ashraf 2019 年 3 月 9 日
コメント済み: Star Strider 2019 年 3 月 9 日
I want to plot below equation in MATLAB.
V=(I)(R) - (R)(C)(dv/dt)
Where,
I= Current= 50nA
R=Resistance= 200 Mega Ohm
C=Capacitance= 50 pF
I want to plot this equation "V" versus time "t".
Can anyone help me out?

採用された回答

Star Strider
Star Strider 2019 年 3 月 9 日
The symbolic approach:
syms I R V(t) t V0
I = sym(50E-9);
R = sym(200E+6);
C = sym(50E-12);
Eq = V == I*R - R*C*diff(V);
Vs(t) = dsolve(Eq, V(0) == 0)
figure
fplot(Vs, [0, 0.1])
grid
Experiment to get the result you want.
  2 件のコメント
Hassan Ashraf
Hassan Ashraf 2019 年 3 月 9 日
Thank YOU!
Star Strider
Star Strider 2019 年 3 月 9 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by