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

Signals and System TP2

This document summarizes steps taken to analyze a transfer function H(s) in Laplace domain. It finds the zeros and poles of H(s), rewrites it using partial fraction expansion, takes the inverse Laplace transform to find the impulse response h(t), and plots various properties of h(t). It also generates a Bode plot of H(s) and plots the step response with input x(t)=u(t). Finally, it draws the region of convergence (ROC) of H(s) on a pole-zero map.

Uploaded by

SokNov Nai
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)
31 views5 pages

Signals and System TP2

This document summarizes steps taken to analyze a transfer function H(s) in Laplace domain. It finds the zeros and poles of H(s), rewrites it using partial fraction expansion, takes the inverse Laplace transform to find the impulse response h(t), and plots various properties of h(t). It also generates a Bode plot of H(s) and plots the step response with input x(t)=u(t). Finally, it draws the region of convergence (ROC) of H(s) on a pole-zero map.

Uploaded by

SokNov Nai
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

Signals and System TP2

Name: NAI SOKNOV


Chapter3-Laplace Transform
ID:e20170539

2𝑠 3 +𝑠 2 +3
Set 𝐻 (𝑠 ) =
7𝑠 2 +5𝑠+9

 Find zeros and poles of H(s)


𝑠1 = 0.5000 + 1.1180𝑖
1. Zeros is 2𝑠 3 + 𝑠 2 + 3 = 0 ⇒ { 𝑠2 = 0.5000 – 1.1180𝑖
𝑠3 = −1.0000 + 0.0000𝑖
2 −0.2143 + 1.1135𝑖
2. Poles is 7𝑠 + 5𝑠 + 9 = 0 ⇒ {
−0.2143 − 1.1135𝑖
Code
num=[2 1 0 3]
den=[0 7 5 9]
zeros= roots(num)
poles= roots(den)

 Rewrite H(s) by performing partial-fraction expansion

Since r =
-0.0860 - 0.2797i
-0.0860 + 0.2797i
p=
-0.2143 + 1.1135i
-0.2143 - 1.1135i
k=
0.2857 -0.1224

Code
[r,p,k]=residue(num,den)
H=(-0.0860 - 0.2797i)/(s-( -0.2143 + 1.1135i))+( -0.0860 + 0.2797i)/(s-(-0.2143 -
1.1135i))+0.2857*s-0.1224
Pretty(H)
 Fnd the impulse response h(t) of this system

Code
h(t)=ilaplace(H(s))
pretty(h(t))
 Plot real, imag, magnitude,phase of h(t)
Code

t=-20:20;
h=ilaplace(H(s));
subplot(2,2,1)
plot(t,real(h));
ylabel('real part of h');
xlabel('time(t)');
subplot(2,2,2);
plot(t,imag(h));
ylabel('imagine part of h');
xlabel('time(t)');
subplot(2,2,3);
plot(t,abs(h));
ylabel(' magnitude of h');
xlabel('time(t)');
subplot(2,2,4);
plot(t,angle(h));
ylabel('phase of h');

 Bode H(s)

Code

num=[2 1 0 3];
den=[0 7 5 9];
bode(num,den);
 find and plot the step response of this system with x(t)=u(t)

Code
>> step(den,num,0:1:20)
 challenge to draw the region of convergence (ROC) of H(s)
Code
>> pzmap(num,den)

You might also like