Calculating impulse response of RLC circuit
이전 댓글 표시
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
Star Strider
2014년 9월 5일
‘Attached is the descriptive outline ...’
Not yet.
답변 (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
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!