# 0.6 Lab 5b - digital filter design (part 2)  (Page 3/6)

 Page 3 / 6

To further investigate the Kaiser window, plot the Kaiser windows and their DTFT magnitudes (in dB)for $N=21$ and the following values of $\beta$ :

• $\beta =0$
• $\beta =1$
• $\beta =5$

For each case use at least 512 points in the plot of the DTFT.

To create theKaiser windows, use the Matlab command kaiser(N,beta) command where N is the length of the filter and betais the shape parameter $\beta$ . To insure at least 512 points in the plot use the command DTFT(window,512) when computing the DTFT.
Submit the plots of the 3 Kaiser windows and the magnitude of their DTFT's in decibels.Comment on how the value $\beta$ affects the shape of the window and the sidelobes of the DTFT.

Next use a Kaiser window to design a low pass filter, $h\left(n\right)$ , to remove the noise from the signal in nspeech2.mat using equations [link] and [link] . To do this, use equations [link] and [link] to compute the values of $\beta$ and $N$ that will yield the following design specifications:

$\begin{array}{ccc}\hfill {\omega }_{p}& =& 1.8\hfill \\ \hfill {\omega }_{c}& =& 2.0\hfill \\ \hfill {\omega }_{s}& =& 2.2\hfill \\ \hfill {\delta }_{p}& =& 0.05\hfill \\ \hfill {\delta }_{s}& =& 0.005\hfill \end{array}$

The low pass filter designed with the Kaiser method will automatically have a cut-offfrequency centered between ${\omega }_{p}$ and ${\omega }_{s}$ .

${\omega }_{c}=\frac{{\omega }_{p}+{\omega }_{s}}{2}$

Plot the magnitude of the DTFT of $h\left(n\right)$ for $|\omega |<\pi$ . Create three plots in the same figure:one that shows the entire frequency response, and ones that zoom in on the passband and stopband ripple, respectively.Mark ${\omega }_{p}$ , ${\omega }_{s}$ , ${\delta }_{p}$ , and ${\delta }_{s}$ on these plots where appropriate. Note:Since the ripple is measured on a magnitude scale, DO NOT use a decibel scale on this set of plots.

From the Matlab prompt, compute the stopband and passband ripple (do not do this graphically). Record the stopband and passband ripple tothree decimal places.

To compute the passband ripple, find the value of the DTFT at frequencies corresponding to the passband using the command H(abs(w)<=1.8) where H is the DTFT of $h\left(n\right)$ and w is the corresponding vector of frequencies. Then use this vector to compute the passband ripple.Use a similar procedure for the stopband ripple.

Filter the noisy speech signal in nspeech2.mat using the filter you have designed. Then compute theDTFT of 400 samples of the filtered signal starting at time $n=20000$ (i.e. 20001:20400 ).Plot the magnitude of the DTFT samples in decibels versus frequency in radians for $|\omega |<\pi$ . Compare this with the spectrum of the noisy speech signal shownin [link] . Play the noisy and filtered speech signals back using sound and listen to them carefully.

## Inlab report

Do the following:
1. Submit the values of $\beta$ and $N$ that you computed.
2. Submit the three plots of the filter's magnitude response. Make sure the plots are labeled.
3. Submit the values of the passband and stopband ripple. Does this filter meet the design specifications?
4. Submit the magnitude plot of the DTFT in dB for the filtered signal.Compare this plot to the plot of [link] .
5. Comment on how the frequency content and the audio quality of the filtered signal have changed afterfiltering.

## Fir filter design using parks-mcclellan algorithm

Click here for help on the firpm function for Parks-McClellan filter design. Download the data file nspeech2.mat for the following section.

Kaiser windows are versatile since they allow the design of arbitrary filters which meet specific design constraints.However, filters designed with Kaiser windows still have a number of disadvantages. For example,

Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
Got questions? Join the online conversation and get instant answers!