The document contains MATLAB code to generate Bode plots for various transfer functions. It defines 11 different transfer functions using the tf() function and plots each one individually in its own figure, labeling the plots with the corresponding transfer function. The transfer functions include examples with poles, zeros, gains, and combinations of each to demonstrate Bode plot characteristics.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
The document contains MATLAB code to generate Bode plots for various transfer functions. It defines 11 different transfer functions using the tf() function and plots each one individually in its own figure, labeling the plots with the corresponding transfer function. The transfer functions include examples with poles, zeros, gains, and combinations of each to demonstrate Bode plot characteristics.
The document contains MATLAB code to generate Bode plots for various transfer functions. It defines 11 different transfer functions using the tf() function and plots each one individually in its own figure, labeling the plots with the corresponding transfer function. The transfer functions include examples with poles, zeros, gains, and combinations of each to demonstrate Bode plot characteristics.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
The document contains MATLAB code to generate Bode plots for various transfer functions. It defines 11 different transfer functions using the tf() function and plots each one individually in its own figure, labeling the plots with the corresponding transfer function. The transfer functions include examples with poles, zeros, gains, and combinations of each to demonstrate Bode plot characteristics.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 10
Diagramas de Bode
num = [0 1 5]; dem = [0 1 45]; sys = tf(num,dem); figure(1) bode(sys) xlabel('frecuencia') ylabel('f(s)=s') title('funcion s+5/s+45') grid on pause
num = [0 1]; num = [1 5];
dem = [1 45]; dem = [0 1]; sys = tf(num,dem); sys = tf(num,dem); figure(2) figure(3) bode(sys) bode(sys) xlabel('frecuencia') xlabel('frecuencia') ylabel('f(s)=s') ylabel('f(s)=s') title('funcion 1/s+45') title('funcion s+5/1') grid on grid on pause pause num = [0 20 500]; dem = [0 1]; sys = tf(num,dem); figure(11) bode(sys) xlabel('frecuencia') ylabel('f(s)=s') title('funcion 20(s+25)') grid on pause num = [0 15]; dem = [1 25]; sys = tf(num,dem); figure(5) bode(sys) xlabel('frecuencia') ylabel('f(s)=s') title('funcion 15(1/s+25)') grid on pause
num = [0 15]; num = [0 1];
dem = [0 1]; dem = [1 25]; sys = tf(num,dem); sys = tf(num,dem); figure(6) figure(7) bode(sys) bode(sys) xlabel('frecuencia') xlabel('frecuencia') ylabel('f(s)=s') ylabel('f(s)=s') title('funcion 15') title('funcion 1/s+25') grid on grid on pause pause num = [1 -40]; dem = [1 100]; sys = tf(num,dem); figure(8) bode(sys) xlabel('frecuencia') ylabel('f(s)=s') title('funcion s-40/s+100') grid on pause
num = [0 1]; num = [1 -40];
dem = [1 100]; dem = [0 1]; sys = tf(num,dem); sys = tf(num,dem); figure(9) figure(10) bode(sys) bode(sys) xlabel('frecuencia') xlabel('frecuencia') ylabel('f(s)=s') ylabel('f(s)=s') title('funcion 1/s+100') title('funcion s-40') grid on grid on pause pause