Professional Documents
Culture Documents
ECE514E Experiment No 9.2
ECE514E Experiment No 9.2
Experiment No. 9
November 5, 2019
(Date of Submission)
Group 3
Domingo, Princess O.
Invento, Chastine N.
Tiongco, Herman II I.
AIM:
To obtain the bode plot for a given transfer function of the system using MATLAB.
APPARATUS:
MATLAB (Software)
PROCEDURE:
Write the MATLAB program in the MATLAB editor.
Then save and run the program.
Give the required inputs.
The syntax "bode(h)" solves the given input transfer function and gives the bode plot,
where num,den are the numerator and denominator of the transfer function.
Now plot the bode plot theoretically for the given transfer function and compare it with
the plot obtained practically
THEORETICAL CALCULATIONS:
gm = 0
Transfer Function :
pm = 0.0155
s 2 0.1s 7.5
wcp = 0
S 4 0.12S 3 9S 2
wcg = 0.9037
MATLAB PROGRAM:
clc
close all
num = input('enter the numerator of the transfer function')
den = input('enter the denominator of the transfer function')
h = tf(num,den)
[gm pm wcp wcg] = margin(h)
bode(h)
GRAPH: