0% found this document useful (0 votes)
35 views3 pages

ECE514E Experiment No 9.2

This document summarizes an experiment conducted to obtain the bode plot of a transfer function using MATLAB. The experiment involves writing a MATLAB program to solve the given transfer function and plot the bode plot. Theoretical calculations are done to find the gain margin, phase margin, crossover frequency, and gain crossover frequency of the transfer function. The bode plot obtained from the MATLAB program is then compared to the theoretical plot.

Uploaded by

Herman Tiongco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views3 pages

ECE514E Experiment No 9.2

This document summarizes an experiment conducted to obtain the bode plot of a transfer function using MATLAB. The experiment involves writing a MATLAB program to solve the given transfer function and plot the bode plot. Theoretical calculations are done to find the gain margin, phase margin, crossover frequency, and gain crossover frequency of the transfer function. The bode plot obtained from the MATLAB program is then compared to the theoretical plot.

Uploaded by

Herman Tiongco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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