0% found this document useful (0 votes)
7 views5 pages

Assignment No. 3 Ramos

Uploaded by

ralphruel143
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)
7 views5 pages

Assignment No. 3 Ramos

Uploaded by

ralphruel143
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/ 5

Republic of the Philippines

CAMARINES SUR POLYTECHNIC COLLEGES


Nabua,Camarines Sur

College of Engineering and Architecture


ECE -325 Feedback and Control System
(MIDTERMS)

Assignment No. 2.5


Name: ALFRED S RAMOS​ ​ Date: ​ ​ ​ ​ ​ ​
Section: ECE 3A​ ​ Rating: ​ ​ ​ ​ ​

Instruction: Solve for the following by utilizing MATLAB or OCTAVE.

I.​ Find the Laplace Transform of the following function

3𝑡 3𝑡
1.​ 𝑓(𝑡) = 𝑒 − 𝑐𝑜𝑠 (6𝑡) − 𝑒 𝑐𝑜𝑠 (6𝑡)

4 −3𝑡
2.​ 𝑓(𝑡) = 𝑡 𝑒

𝑑 −𝑡
3.​ 𝑓(𝑡) = 𝑑𝑡
(𝑒 )

3𝑡 3𝑡
1.​ 𝑓(𝑡) = 𝑒 − 𝑐𝑜𝑠 (6𝑡) − 𝑒 𝑐𝑜𝑠 (6𝑡)

>> syms t s

>> f = exp(3*t) - cos(6*t) -

(exp(3*t))*(cos(6*t))

>> A = laplace (f)

>> pretty (A)


Republic of the Philippines
CAMARINES SUR POLYTECHNIC COLLEGES
Nabua,Camarines Sur

College of Engineering and Architecture


ECE -325 Feedback and Control System
(MIDTERMS)

4 −3𝑡
2.​ 𝑓(𝑡) = 𝑡 𝑒

>> syms t s

>> f = (t^(4))*(exp(-3*t))

>> A = laplace (f)

>> pretty (A)

𝑑 −𝑡
3.​ 𝑓(𝑡) = 𝑑𝑡
(𝑒 )

>> syms t s Y

>> f = diff (exp(-t))

>> A = laplace (f)

>> pretty (A)


Republic of the Philippines
CAMARINES SUR POLYTECHNIC COLLEGES
Nabua,Camarines Sur

College of Engineering and Architecture


ECE -325 Feedback and Control System
(MIDTERMS)

II.​ Find the inverse transform of the following function

19 1 7
1.​ 𝐹(𝑠) = 𝑠+2
− 3𝑠−5
+( 5 )
𝑠

86𝑠−78
2.​ 𝐹(𝑠) = (𝑠+3)(𝑠−4)(5𝑠−1)

19 1 7
1.​ 𝐹(𝑠) = 𝑠+2
− 3𝑠−5
+( 5 )
𝑠

>> syms t s Y

>> A = ilaplace

((19/(s+2)-(1/((3*s)-5))+

(7/s^5))

>> pretty(A)

86𝑠−78
2.​ 𝐹(𝑠) = (𝑠+3)(𝑠−4)(5𝑠−1)

>> syms t s Y

>> A =

ilaplace((86*s-78)/((s+3)*(s-4)

*(5*s-1))

>> pretty(A)
Republic of the Philippines
CAMARINES SUR POLYTECHNIC COLLEGES
Nabua,Camarines Sur

College of Engineering and Architecture


ECE -325 Feedback and Control System
(MIDTERMS)

III.​ Given the following differential equation, solve for y(t)

'
1.​ 𝑦 + 4𝑦 = 5, 𝑦(0) = 2

'
1.​ 𝑦 + 4𝑦 = 5, 𝑦(0) = 2

>> syms t s Y

>> f = 5

>> A = laplace(f, t, s)

>> Y1 = s*Y - 2

>> SOL = solve(Y1+4*Y-A, Y)

>> sol = ilaplace(SOL, s, t)


Republic of the Philippines
CAMARINES SUR POLYTECHNIC COLLEGES
Nabua,Camarines Sur

College of Engineering and Architecture


ECE -325 Feedback and Control System
(MIDTERMS)

IV.​ Using the ramp response from EXAMPLE 5 IN YOUR LECTURE TRANSFER FUNCTION, show the

response plot with range from 0 to 5 with an increment of 0.01

1 1 −4𝑡 1 −8𝑡
1.​ 𝑐(𝑡) = 32
− 16
𝑒 + 32
𝑒

1 1 −4𝑡 1 −8𝑡
1.​ 𝑐(𝑡) = 32
− 16
𝑒 + 32
𝑒

>> syms t s Y

>> t = 0:0.01:5

>> plot (t,

((1/32)-((1/16)*exp(-4*t)+(1/32

)*exp(-8*t)))

You might also like