TRANSER FUNCTION OF RC CIRCUIT WITH GIVEN VALUES

조회 수: 7 (최근 30일)
Allysa Mhay Santos
Allysa Mhay Santos 2020년 3월 11일
답변: Star Strider 2020년 3월 11일
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

답변 (1개)

Star Strider
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.

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by