Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

New Era University

No. 9 Central Avenue, New Era, Quezon City


College of Engineering Architecture

ECE 514E - Digital Control Systems


T 11:30AM - 5:30PM

Experiment No. 9

BODE PLOT FROM A


TRANSFER FUNCTION

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:

You might also like