TRANSER FUNCTION OF RC CIRCUIT WITH GIVEN VALUES
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Star Strider
am 11 Mär. 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.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!