# 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

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
Introduction about quantum dots in nanotechnology
Praveena Reply
what does nano mean?
Anassong Reply
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?
Damian Reply
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
Maciej
characteristics of micro business
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
s. Reply
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
Devang Reply
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
Abhijith Reply
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?
s. Reply
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 ?
SUYASH Reply
for screen printed electrodes ?
SUYASH
What is lattice structure?
s. Reply
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
Sanket Reply
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 Rhodes By Rhodes By  By     By