# Fir digital filters  (Page 4/7)

 Page 4 / 7

Notice from [link] for $N$ even, $\mathrm{A\left(\omega \right)}$ is an even function around $\mathrm{\omega =0}$ , an odd function around $\mathrm{\omega =\pi }$ , and is periodic with period $\mathrm{4\pi }$ . This requires $\mathrm{A\left(\pi \right)=0}$ .

For the case in [link] where ${K}_{1}=\pi /2$ , an odd symmetry is required of the form

$h\left(n\right)\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}-h\left(N-n-1\right)$

which, for $N$ odd, gives

$H\left(\omega \right)\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}jA\left(\omega \right){e}^{jM\omega }$

with

$A\left(\omega \right)\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}\sum _{n=0}^{M-1}2h\left(n\right)sin\omega \left(M-n\right)$

and for $N$ even

$A\left(\omega \right)\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}\sum _{n=0}^{N/2-1}2h\left(n\right)sin\omega \left(M-n\right)$

To calculate the frequency or amplitude response numerically, one must consider samples of the continuous frequency response function above. $L$ samples of the general complex frequency response $H\left(\omega \right)$ in [link] are calculated from

$H\left({\omega }_{k}\right)\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}\sum _{n=0}^{N-1}h\left(n\right)\phantom{\rule{0.166667em}{0ex}}{e}^{-j{\omega }_{k}n}.$

for $k=0,1,2,\cdots ,L-1$ . This can be written with matrix notation as

$H\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}F\phantom{\rule{0.166667em}{0ex}}h$

where $H$ is an $L$ by 1 vector of the samples of the complex frequency response, $F$ is the $L$ by $N$ matrix of complex exponentials from [link] , and $h$ is the $N$ by 1 vector of real filter coefficients.

These equations are possibly redundant for equally spaced samples since $A\left(\omega \right)$ is an even function and, if the phase response is linear, $h\left(n\right)$ is symmetric. These redundancies are removed by sampling [link] over $0\le {\omega }_{k}\le \pi$ and by using $a$ defined in [link] rather than $h$ . This can be written

$A\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}C\phantom{\rule{0.166667em}{0ex}}a$

where $A$ is an $L$ by 1 vector of the samples of the real valued amplitude frequency response, $C$ is the $L$ by $M$ real matrix of cosines from [link] , and $a$ is the $M$ by 1 vector of filter coefficients related to the impulse response by [link] . A similar set of equations can be written from [link] for $N$ odd or from [link] for $N$ even.

This formulation becomes a filter design method by giving the samples of a desired amplitude response as ${A}_{d}\left(k\right)$ and solving [link] for the filter coefficients $a\left(n\right)$ . If the number of independent frequency samples is equal to the number of independent filter coefficients and if $C$ is not singular, this is the frequency sampling filter design method and the frequency response of the designed filter will interpolate thespecified samples. If the number of frequency samples $L$ is larger than the number of filter coefficients $N$ , [link] may be solved approximately by minimizing the norm $\parallel A\left(\omega \right)-{A}_{d}\left(\omega \right)\parallel$ .

## The discrete time fourier transform with normalization

The discrete time Fourier transform of the impulse response of a digital filter is its frequency response, therefore, it is an important tool.When the symmetry conditions of linear phase are incorporated into the DTFT, it becomes similar to the discrete cosine or sine transform(DCT or DST). It also has an arbitrary normalization possible for the odd length that needs to be understood.

The discrete time Fourier transform (DTFT) is defined in [link] which, with the conditions of an odd length-N symmetrical signal, becomes

$A\left(\omega \right)=\sum _{n=1}^{M}a\left(n\right)\phantom{\rule{0.166667em}{0ex}}cos\left(\omega n\right)+K\phantom{\rule{0.166667em}{0ex}}a\left(0\right)$

where $M=\left(N-1\right)/2$ . Its inverse as

$a\left(n\right)=\frac{2}{\pi }{\int }_{0}^{\pi }A\left(\omega \right)\phantom{\rule{0.166667em}{0ex}}cos\left(\omega n\right)\phantom{\rule{0.166667em}{0ex}}d\omega$

for $n=1,2,\cdots ,M$ and

$a\left(0\right)=\frac{1}{K\pi }{\int }_{0}^{\pi }A\left(\omega \right)\phantom{\rule{0.277778em}{0ex}}d\omega$

where $K$ is a parameter of normalization for the $a\left(0\right)$ term with $0 . If $K=1$ , the expansion equation [link] is one summation and doesn't have to have the separate term for $a\left(0\right)$ . If $K=1/2$ , the equation for the coefficients [link] will also calculate the $a\left(0\right)$ term and the separate equation [link] is not needed. If $K=1/\sqrt{2}$ , a symmetry results which simplifies equations later in the notes.

## Four types of linear-phase fir filters

From the previous discussion, it is seen that there are four possible types of FIR filters [link] that lead to the linear phase of [link] . These are summarized in [link] .

#### Questions & Answers

what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
Jyoti Reply
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
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?
Damian Reply
research.net
kanaga
sciencedirect big data base
Ernesto
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

### Read also:

#### Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Digital signal processing and digital filter design (draft). OpenStax CNX. Nov 17, 2012 Download for free at http://cnx.org/content/col10598/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?

 By Cameron Casey By Brooke Delaney By Mackenzie Wilcox By Katherina jennife... By Brooke Delaney By JavaChamp Team By By Vanessa Soledad By OpenStax By OpenStax