plot overdamped response of the voltage across the capacitor.

6 ビュー (過去 30 日間)
Sasheel  Maharaj
Sasheel Maharaj 2020 年 3 月 12 日
回答済み: Divya Yerraguntla 2020 年 3 月 16 日
Over-damped response: Vi = 0 V, Vf = 10 V, R = 250 Ω, L = 10 mH, and C = 1 μF.
this is the equation for the voltage across the capacitor, but when i plot it on matlab i get straight lines and not a curve.
vC (t) = − 13.33Vexp(−t/0.2 ms) + 3.33Vexp(−t/50 μs) + 10V
thanks in advance.
  2 件のコメント
Jakob B. Nielsen
Jakob B. Nielsen 2020 年 3 月 12 日
Can you paste the code you have so far?
Sasheel  Maharaj
Sasheel Maharaj 2020 年 3 月 12 日
t=[0:0.25:1.50]; y=-13.33*exp(-t/0.0002)+3.33*exp(-t/0.00005)+10
Plot(t,y)

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

採用された回答

Divya Yerraguntla
Divya Yerraguntla 2020 年 3 月 16 日
Hi Sasheel,
The voltage across the capacitor is getting saturated at approximately 1ms itself but your code is plotting the data until 1.5 seconds. So, try rescaling 't' to milliseconds instead of seconds to observe the exponential response. Try running the below code:
t= 0:0.000005:0.002;
y = -13.33*exp(-t/0.0002)+3.33*exp(-t/0.00005)+10;
plot(t,y);
Hope it helps!

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by