TRANSER FUNCTION OF RC CIRCUIT WITH GIVEN VALUES
조회 수: 7 (최근 30일)
이전 댓글 표시
disp('RLC Circuit')
%Specifications
R=1e3;
C=1e-6;
L=1e-3;
X=['Specifications: R=', num2str(R), 'ohm C=', num2str(C), 'F L=', num2str(L), 'H'];
disp(X);
b=1/(L*C);
a=R/L;
num=[b];
den=[1,a,b];
%Transfer Function
Hrlc = tf(num, den)
%Step Response
step(Hrlc)
%Frequency Response
bode(Hrlc)
WHAT TO DO NEXT?
I inserted a file that we need to comply, I dunno how to do the next instructions
댓글 수: 0
답변 (1개)
Star Strider
2020년 3월 11일
I would use a for loop to change the component values and plot them. The instructions say to use the same set of axes (use the hold function), so it would be best to get the outputs from step and bode, and plot them, rather than using the plots created by step and bode when those functions do not have requested outputs. Those are explained in the documentation for those functions.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!