Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

School of Sciences and Engineering

Department of Mechanical Engineering

3705
Mechanical Systems
Assignment (3)
Submitted
To:
Prof. Maki K. Habib
By:
1. Mohamed Abdelmeguid
Due Date:

02/04/2015
Submitted Date:

02/04/2015

900112983

Section 1:
1) Matlab Script:
clc
clear all
num = [1]
den = [3, 8, 120]
syst = tf(num,den)
step(2*syst)
2) Matlab execution:

num =
1
den =
3

120

Transfer function:
1
----------------3 s^2 + 8 s + 120

3)

2)
matlab script:
clc
clear all
num = [320]
den = [1, 8, 64]
syst = tf(num,den)
impulse(syst)

matlab result:
num =
320
den =
1

64

Transfer function:
320
-------------s^2 + 8 s + 64

Section 3:
a)
matlab script:
num = [300, 600];
den = [1, 87, 710, 1350, 600];
syst = tf(num,den)
step(syst)
num = [300, 600];
den = [1, 87, 710, 1350, 600, 0];
syst = tf(num,den)
step(syst)
matlab result:
Transfer function:
300 s + 600
------------------------------------s^4 + 87 s^3 + 710 s^2 + 1350 s + 600

Transfer function:
300 s + 600
----------------------------------------s^5 + 87 s^4 + 710 s^3 + 1350 s^2 + 600 s

You might also like