<< Chapter < Page Chapter >> Page >

Consider the following transfer function for a second order IIR filter with complex-conjugate poles:

H i ( z ) = 1 - r ( 1 - r e j θ z - 1 ) ( 1 - r e - j θ z - 1 ) = 1 - r 1 - 2 r c o s ( θ ) z - 1 + r 2 z - 2

[link] shows the locations of the two poles of this filter. The poles have the form

p 1 = r e j θ p 2 = r e - j θ

where r is the distance from the origin, and θ is the angle of p 1 relative to the positive real axis. From the theory of Z-transforms,we know that a causal filter is stable if and only if its poles are located within the unit circle.This implies that this filter is stable if and only if | r | < 1 . However, we will see that by locating the poles close to theunit circle, the filter's bandwidth may be made extremely narrow around θ .

This two-pole system is an example of an IIR filter because its impulse response has infinite duration.Any filter with nontrivial poles (not at z = 0 or ± ) is an IIR filter unless the poles are canceled by zeros.

Calculate the magnitude of the filter's frequency response | H i ( e j w ) | on | ω | < π for θ = π / 3 and the following three values of r .

  • r = 0 . 99
  • r = 0 . 9
  • r = 0 . 7

Put all three plots on the same figure using the subplot command.

Submit the difference equation, system diagram and the analytical expression of the impulse response for H i ( z ) . Also submit the plot of the magnitude of the frequencyresponse for each value of r . Explain how the value of r affects this magnitude.

In the following experiment, we will use the filter H i ( z ) to separate a modulated sinusoid from background noise.To run the experiment, first download the file pcm.mat and load it into the Matlab workspace using the command load pcm . Play pcm using the sound command. Plot 101 samples of the signal for indices (100:200),and then compute the magnitude of the DTFT of 1001 samples of pcm using the time indices (100:1100). Plot the magnitude of the DTFT samples versus radial frequencyfor | ω | < π . The two peaks in the spectrum correspond to the center frequency of the modulated signal.The low amplitude wideband content is the background noise. In this exercise, you will use the IIR filter described above toamplify the desired signal, relative to the background noise.

The pcm signal is modulated at 3146Hz and sampled at 8kHz.Use these values to calculate the value of θ for the filter H i ( z ) . Remember from the sampling theorem that a radial frequency of 2 π corresponds to the sampling frequency.

Write a Matlab function IIRfilter(x) that implements the filter H i ( z ) . In this case, you need to use a for loop to implement the recursive difference equation. Use your calculated value of θ and r = 0 . 995 . You can assume that y(n)is equal to 0 for negative values of n . Apply the new command IIRfilter to the signal pcm to separate the desired signal from the background noise, and listen to the filtered signal to hear the effects.Plot the filtered signal for indices (100:200), and then compute the DTFT of 1001 samples of the filtered signal using the timeindices (100:1100). Plot the magnitude of this DTFT. In order to see the DTFT around ω = θ more clearly, plot also the portion of this DTFT for the values of ω in the range [ θ - 0 . 02 , θ + 0 . 02 ] . Use your calculated value of θ .

Questions & Answers

what is mutation
Janga Reply
what is a cell
Sifune Reply
how is urine form
Sifune
what is antagonism?
mahase Reply
classification of plants, gymnosperm features.
Linsy Reply
what is the features of gymnosperm
Linsy
how many types of solid did we have
Samuel Reply
what is an ionic bond
Samuel
What is Atoms
Daprince Reply
what is fallopian tube
Merolyn
what is bladder
Merolyn
what's bulbourethral gland
Eduek Reply
urine is formed in the nephron of the renal medulla in the kidney. It starts from filtration, then selective reabsorption and finally secretion
onuoha Reply
State the evolution relation and relevance between endoplasmic reticulum and cytoskeleton as it relates to cell.
Jeremiah
what is heart
Konadu Reply
how is urine formed in human
Konadu
how is urine formed in human
Rahma
what is the diference between a cavity and a canal
Pelagie Reply
what is the causative agent of malaria
Diamond
malaria is caused by an insect called mosquito.
Naomi
Malaria is cause by female anopheles mosquito
Isaac
Malaria is caused by plasmodium Female anopheles mosquitoe is d carrier
Olalekan
a canal is more needed in a root but a cavity is a bad effect
Commander
what are pathogens
Don Reply
In biology, a pathogen (Greek: πάθος pathos "suffering", "passion" and -γενής -genēs "producer of") in the oldest and broadest sense, is anything that can produce disease. A pathogen may also be referred to as an infectious agent, or simply a germ. The term pathogen came into use in the 1880s.[1][2
Zainab
A virus
Commander
Definition of respiration
Muhsin Reply
respiration is the process in which we breath in oxygen and breath out carbon dioxide
Achor
how are lungs work
Commander
where does digestion begins
Achiri Reply
in the mouth
EZEKIEL
what are the functions of follicle stimulating harmones?
Rashima Reply
stimulates the follicle to release the mature ovum into the oviduct
Davonte
what are the functions of Endocrine and pituitary gland
Chinaza
endocrine secrete hormone and regulate body process
Achor
while pituitary gland is an example of endocrine system and it's found in the Brain
Achor
what's biology?
Egbodo Reply
Biology is the study of living organisms, divided into many specialized field that cover their morphology, physiology,anatomy, behaviour,origin and distribution.
Lisah
biology is the study of life.
Alfreda
Biology is the study of how living organisms live and survive in a specific environment
Sifune
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