Calculating impulse response of RLC circuit
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Réponses (1)
Rick Rosson
le 6 Sep 2014
Modifié(e) : Rick Rosson
le 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
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!