TRANSER FUNCTION OF RC CIRCUIT WITH GIVEN VALUES

22 visualizaciones (últimos 30 días)
Allysa Mhay Santos
Allysa Mhay Santos el 11 de Mzo. de 2020
Respondida: Star Strider el 11 de Mzo. de 2020
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

Respuestas (1)

Star Strider
Star Strider el 11 de Mzo. de 2020
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.

Community Treasure Hunt

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

Start Hunting!

Translated by