Calculating impulse response of RLC circuit
2 ビュー (過去 30 日間)
古いコメントを表示
Attached is the descriptive outline for what I need. I've written some code, but I feel it would just complicate things (since I use a lot of variables from previous sections of the assignment).
Despite what is asked for, it doesn't matter how I arrive at the correct plots, I just need the plots themselves.
I'm at a total loss for how to write the code to achieve this goal, or how to account for the differential equation given.
Any thoughts?
1 件のコメント
回答 (1 件)
Rick Rosson
2014 年 9 月 6 日
編集済み: Rick Rosson
2014 年 9 月 6 日
omega_0 = 1/sqrt(L*C);
alpha = R/L;
zeta = alpha/omega_0;
Q = omega_0/(2*alpha);
if alpha > omega_0
% over damped
else
if alpha == omega_0
% critically damped
else
% under damped
end
end
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!