0% found this document useful (0 votes)
47 views2 pages

Practice 1 - Chapter 2

1. The document discusses various signal processing and control system concepts in MATLAB including: - Finding the Laplace transform, inverse Laplace transform, and residues of polynomials - Generating transfer functions from polynomials in factored and unfactored form - Connecting subsystem models in series, parallel and feedback configurations 2. Exercises are provided to work with Laplace transforms, transfer functions, and reducing block diagrams to find an overall transfer function based on connections of subsystem models.

Uploaded by

Nguyễn Đức
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)
47 views2 pages

Practice 1 - Chapter 2

1. The document discusses various signal processing and control system concepts in MATLAB including: - Finding the Laplace transform, inverse Laplace transform, and residues of polynomials - Generating transfer functions from polynomials in factored and unfactored form - Connecting subsystem models in series, parallel and feedback configurations 2. Exercises are provided to work with Laplace transforms, transfer functions, and reducing block diagrams to find an overall transfer function based on connections of subsystem models.

Uploaded by

Nguyễn Đức
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/ 2

Practice 1_Chapter 2

1. Polynomial difinition: 5s^4+7s^3+9s^2-3s+2


P=[5 7 9 -3 2]
2. Find roots of polynomial
roots(P)
3. Convolution and polynomial multiplication.
P=conv([ 1 7 1 0 9] ,[ 1 -3 6 2 1] )
4. Find residue of a polynomial
numf=[7 9 12]; % Define numerator of F(s)
denf=conv(poly([0-7]),[1 10 100]); % Define denominator of F(s).
[K, p, k]=residue (numf ,denf) % Find residues and assign to K;

% find roots of denominator and


% assign to p; find
% constant and assign to k.
5. Find transfer function
F=tf (numf, denf);
G=zpk(numg,deng,K)
tf2zp
zp2tf
6. Find forward and inverse laplace transform
laplace
ilaplace
7. Connect subsystem
- Series: G1*G2
- Parallel: G1+G2
- Feedback: feedback(G,C,-1)
- append
- connect

Exercise

1. Use Matlab and the symbolic math toolbox to find the Laplace transform of the
following time funtions:
=
a. f (t ) 8t 2 cos(3 t + 450 )
b. f (t ) 3 te −2t sin(4 t + 600 )
=
2. Use Matlab and the symbolic math toolbox to find the inverse Laplace transform of
the following frequency functions:
(s 2 + 3s + 10)(s + 5)
a.G(s) =
( s + 3)( s + 4)( s 2 + 2 s + 100)
s3 + 4s 2 + 2 s + 6
b.G ( s ) =
( s + 8)( s 2 + 8s + 3)( s 2 + 5s + 7)
3. Use Matlab to generate the transfer function:
5(s + 15)(2 + 26)(s + 72)
G(s) =
s( s + 55)( s 2 + 5s + 30)(s + 56)( s 2 + 27 s + 52)
a. The ratio of factors
b. The ratio of polynomial
4. Repeat Exercise 3 for the following function:
s 4 + 24 s 3 + 20 s 2 + 15s + 42
G(s) =
s 5 + 13s 4 + 9 s 3 + 37 s 2 + 35s + 50
5. Use Matlab and the symbolic math toolbox to input transform and form LTI objects
in polynomial and factored form for the following frequency functions:
45(s 2 + 37 s + 74)(s3 + 28s 2 + 32 s + 16)
a.G(s) =
( s + 39)( s + 47)( s 2 + 2 s + 100)(s3 + 27 s 2 + 18s + 15)
56(s + 4)(s3 + 49s 2 + 62 s + 53)
b.G ( s ) =
(s + 81s + 76 s + 65)( s 2 + 88s + 33)( s 2 + 56 s + 77)
3 2

6. Reduce the block diagram to find transfer function of following figure:

You might also like