Calculating impulse response of RLC circuit
4 次查看(过去 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 个)
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!