Beruflich Dokumente
Kultur Dokumente
Objective:
To Determine the Z transform of any given function and finding out its inverse.
Theory:
Z transform is a mathematical tool commonly used for the analysis and synthesis of the discrete time
control system.
Consider a sequence f(n).The z-transform is defined as
F(z) = Z[f(n)] = f ( n) z
0
n
In Matlab we do mathematical operations to symbolic varaibles which are data structures to represent
symbolic varaibles, expressions and matrices.
Symbolic variables are simply created by sym or syms command.
a = sym(‘a’) command simply returns a printing a as a symbol.
Similarly syms a b c creates a, b and c as symbolic objects.
Mathematical Operations
Z transform
F = ztrans(f) is the z-transform of the scalar symbol f with default independent variable n. The default
return is a function of z. The default return is a function of z.
F = ztrans(f,w) makes F a function of the symbol w instead of the default z. i.e. F=F(w)
F = ztrans(f,k,w) takes f to be a function of the symbolic variable k.
Inverse Z-transform
F=iztrans(F) is the inverse z-transform of the scalar symbolic object F with default independent variable
z. The default return is a function of n.
If F = F(n), iztrans returns a function of k. i.e. f = f(k)
f=iztrans(F,k) makes f a function of k instead of the default n. Here k is a scalar symbolic object.
f = iztrans(F,w,k) takes F to be a function of w instead of the default findsym(F) and returns a function of
k.
Laplace transform
L = laplace(F) is the Laplace transform of the scalar symbol F with default independent variable t. The
default return is a function of s. The Laplace transform is applied to a function of t and returns a function
of s.
L = laplace(F,t) makes L a function of t instead of the default s.
L = laplace(F,w,z) makes L a function of z and F a function of w instead of the default variables s and t,
respectively.
F = ilaplace(L) is the inverse Laplace transform of the scalar symbolic object L with default independent
variable s. The default return is a function of t. The inverse Laplace transform is applied to a function of
s and returns a function of t.
F = ilaplace(L,y) makes F a function of y instead of the default t.
F = ilaplace(L,y,x) takes F to be a function of x and L a function of y instead of the default variables t and
s, respectively.
Practice
Practice to find z-transform of the following:
Discussion:
In this lab we used built in matlab function to evaluate z-transform of given functions ,their inverse z-
transform and ztrasform for system in s-domain. Using ztrans() function we found z-transform and
iztrans() function, we found inverse z-transform. The function in s domain were first brought to time
domain using inverse laplace transform carried out using ilaplace() function.The time domain funtion is
ztransformed using ztrans() function.
Conclusion:
Hence, we learnt z-transform,laplace transform and their inverse operations.