Calculating impulse response of RLC circuit
Show older comments
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 Comment
Star Strider
on 5 Sep 2014
‘Attached is the descriptive outline ...’
Not yet.
Answers (1)
Rick Rosson
on 6 Sep 2014
Edited: Rick Rosson
on 6 Sep 2014
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
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!