<< Chapter < Page Chapter >> Page >
X ( e j ω ) = X ( z ) z = e j ω = n = - x ( n ) e - j ω n

From the definition of the Z-transform, a change of variable m = n - K shows that a delay of K samples in the time domain is equivalent to multiplication by z - K in the Z-transform domain.

x ( n - K ) Z n = - x ( n - K ) z - n = m = - x ( m ) z - ( m + K ) = z - K m = - x ( m ) z - m = z - K X ( z )

We may use this fact to re-write [link] in the Z-transform domain, by taking Z-transforms of both sides ofthe equation:

Y ( z ) = i = 0 N - 1 b i z - i X ( z ) - k = 1 M a k z - k Y ( z ) Y ( z ) 1 + k = 1 M a k z - k = X ( z ) i = 0 N - 1 b i z - i H ( z ) = Y ( z ) X ( z ) = i = 0 N - 1 b i z - i 1 + k = 1 M a k z - k

From this formula, we see that any filter which can be represented by a linear difference equation with constant coefficientshas a rational transfer function (i.e. a transfer function which is a ratio of polynomials).From this result, we may compute the frequency response of the filter by evaluating H ( z ) on the unit circle:

H ( e j ω ) = i = 0 N - 1 b i e - j ω i 1 + k = 1 M a k e - j ω k .

There are many different methods for implementing a general recursive difference equation of the form [link] . Depending on the application, some methods may be more robustto quantization error, require fewer multiplies or adds, or require less memory. [link] shows a system diagram known as the direct form implementation; it works for any discrete-time filterdescribed by the difference equation in [link] . Note that the boxes containing the symbol z - 1 represent unit delays, while a parameter written next to a signal path represents multiplication by that parameter.

Direct form implementation for a discrete-time filter described by a linear recursive difference equation.

Design of a simple fir filter

Download the files, nspeech1.mat and DTFT.m for the following section.

Location of two zeros for simple a FIR filter.

To illustrate the use of zeros in filter design, you will design a simple second order FIR filterwith the two zeros on the unit circle as shown in [link] . In order for the filter's impulse response to be real-valued,the two zeros must be complex conjugates of one another:

z 1 = e j θ
z 2 = e - j θ

where θ is the angle of z 1 relative to the positive real axis. We will see later that θ [ 0 , π ] may be interpreted as the location of the zeros in the frequency response.

The transfer function for this filter is given by

H f ( z ) = ( 1 - z 1 z - 1 ) ( 1 - z 2 z - 1 ) = ( 1 - e j θ z - 1 ) ( 1 - e - j θ z - 1 ) = 1 - 2 cos θ z - 1 + z - 2 .

Use this transfer function to determine the difference equation for this filter.Then draw the corresponding system diagram and compute the filter's impulse response h ( n ) .

This filter is an FIR filter because it has impulse response h ( n ) of finite duration. Any filter with only zeros and no poles other than thoseat 0 and ± is an FIR filter. Zeros in the transfer function represent frequencies that arenot passed through the filter. This can be useful for removing unwanted frequencies in a signal.The fact that H f ( z ) has zeros at e ± j θ implies that H f ( e ± j θ ) = 0 . This means that the filter will not pass pure sine waves at a frequencyof ω = θ .

Use Matlab to compute and plot the magnitude of the filter's frequency response | H f ( e j ω ) | as a function of ω on the interval - π < ω < π , for the following three values of θ :

  • θ = π / 6
  • θ = π / 3
  • θ = π / 2

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask