<< Chapter < Page Chapter >> Page >

The outputs of the command are n = filter length - 1 , and the vectors fo , mo , and w which are intermediate filter parameters.

Once the filter length, n , is obtained, the Matlab command for designing a Parks-McClellan filteris b = firpm(n,fo,mo,w) . The inputs n , fo , mo , and w are the corresponding outputs of firpmord , and the output b is a vector of FIR filter coefficients such that

H ( z ) = b ( 1 ) + b ( 2 ) z - 1 + + b ( n + 1 ) z - n

(What is the impulse response of this filter?)

For further information, read the help document on using Matlab to implement the Parks-McClellan algorithm.

Now design a symmetric FIR filter using firpmord and firpm in Matlab to meet the design specifications given in the "Filter Design Using the Kaiser Window" section. Compute the DTFT of the filter's response for at least 512 points,and use this result to compute the passband and stopband ripple of the filter that was designed.Adjust the filter length until the minimum order which meets the design constraints is found.Plot the magnitude of the DTFT in dB of the final filter design.

Inlab report

Do the following:
  1. Submit the final measured values of filter length, passband ripple, and stopband ripple.How accurate was the filter order computation using Matlab's firpmord ? How does the length of this filter compare to the filterdesigned using a Kaiser window?
  2. Submit the plot of the filter's DTFT. How does the frequency response of the Parks-McClellan filtercompare to the filter designed using the Kaiser window? Comment on the shape of both the passband and stopband.

Use the filter you have designed to remove the noise from the signal nspeech2.mat . Play the noisy and filtered speech signals back using sound and listen to them carefully. Compute theDTFT of 400 samples of the filtered signal starting at time n = 20 , 001 (i.e. 20001:20400 ).Plot the magnitude of the DTFT in decibels versus frequency in radians for | ω | < π . Compare this with the spectrum of the noisy speech signal shownin [link] , and also with the magnitude of the DTFT of the Kaiser filtered signal.

Submit the plot of the DTFT magnitude for the filtered signal. Comment on how the audio qualityof the signal changes after filtering. Also comment on any differences in audio quality between the Parks-McClellan filteredspeech and the Kaiser filtered speech.

Design of discrete-time iir filters using numerical optimization

In this section, we consider the design of discrete-time IIR filters through the direct search of filter parametersthat will minimize a specific design criterion. Such “brute force” approaches to filter design have becomeincreasingly more popular due to the wide availability of high speed computers and robust numerical optimization methods.

Typically, numerical approaches to filter design have two parts. First, they design a cost , or error criterion. This criterion is a measure of the difference betweenthe ideal filter response and the response of the computed or “approximate” filter. The goal is to findthe approximate filter with the lowest cost (error). Mean square error isa popular cost criterion. The second part is to minimize the cost with respect to the filter parameters.We will perform the required numerical optimization with the fminsearch function in Matlab's Optimization Toolbox .

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
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