Transfer Function in Linear Frequency plot

1 visualizzazione (ultimi 30 giorni)
Alejandro Urbina
Alejandro Urbina il 18 Apr 2016
Risposto: Star Strider il 18 Apr 2016
Im graphing this code, i want to obtain the plot as a linear frequency(hz) not as an angular frequency(rad/s)
R=320;
a=.95;
C=900*10^-9;
num=[(R^2.*C^2) 1];
den=[(R^2.*C^2) (4.*R.*C.*(1-a)) 1];
H=tf(num, den);
bode(H), grid
can someone tell me what should i change in my code to make this change happen in my plot? any help will be appreciated
thanks!!!

Risposte (1)

Star Strider
Star Strider il 18 Apr 2016
Use the bodeplot function. There is an example in the documentation demonstrating exactly what you want to do.

Community Treasure Hunt

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

Start Hunting!

Translated by