# 2.1 Fir filter design by frequency sampling or interpolation

 Page 1 / 3

Since samples of the frequency response of an FIR filter can be calculated by taking the DFT of the impulse response $h\left(n\right)$ , one could propose a filter design method consisting of taking the inverse DFT of samples of adesired frequency response. This can indeed be done and is called frequency sampling design . The resulting filter has a frequency response that exactly interpolates the given samples, but there is no explicit controlof the behavior between the samples [link] , [link] .

Three methods for frequency sampling design are:

1. Take the inverse DFT (perhaps using the FFT) of equally spaced samples of thedesired frequency response. Care must be taken to use the correct phase response to obtain a real valued causal $h\left(n\right)$ with reasonable behavior between sample response. This method works for general nonlinear phasedesign as well as for linear phase.
2. Derive formulas for the inverse DFT which take the symmetries, phase, and causality into account. It is interesting to notice these analysis and designformulas turn out to be the discrete cosine and sine transforms and their inverses.
3. Solve the set of simultaneous linear equations that result from calculating the sampledfrequency response from the impulse response. This method allows unevenly spaced samples of the desired frequency response but the resulting equationsmay be ill conditioned.

## Frequency sampling filter design by inverse dft

The most direct frequency sampling design method is to simply take the inverse DFT of equally spaced samples of the desired complex frequencyresponse ${H}_{d}\left({\omega }_{k}\right)$ . This is done by

$h\left(n\right)\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}=\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\frac{1}{N}\sum _{k=0}^{N-1}{H}_{d}\left(\frac{2\pi }{N}k\right)\phantom{\rule{0.166667em}{0ex}}{e}^{j2\pi nk/N}$

where care must be taken to insure that the real and imaginary parts (or magnitude and phase) of ${H}_{d}\left({\omega }_{k}\right)$ satisfy the symmetry conditions that give a real, causal $h\left(n\right)$ . This method will allow a general complex $H\left(\omega \right)$ as well as a linear phase. In most cases, it is easier to specify proper and consistentsamples if it is the magnitude and phase that are set rather than the real and imaginary parts. For example, it is important that the desiredphase be consistent with the specified length being even or odd as is given in Equation 28 from FIR Digital Filters and Equation 24 from FIR Digital Filters .

Since the frequency sampling design method will always produce a filter with a frequency response that interpolates the specified samples, theresults of inappropriate phase specifications will show up as undesired behavior between the samples.

## Frequency sampling filter design by formulas

When equally spaced samples of the desired frequency response are used, it is possible to derive formulas for the inverse DFT and, therefore,for the filter coefficients. This is because of the orthogonal basis function of the DFT. These formulas can incorporate the various constraints of a real $h\left(n\right)$ and/or linear phase and eliminate the problems of inconsistency in specifying $H\left({\omega }_{k}\right)$ .

To develop explicit formulas for frequency-sampling design of linear-phase FIR filters, a direct use of the inverse DFT is most straightforward. When $H\left(\omega \right)$ has linear phase, [link] may be simplified using the formulas for the four types of linear-phase FIR filters.

#### Questions & Answers

what is the stm
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?
what is a peer
What is meant by 'nano scale'?
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
what is Nano technology ?
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?
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
characteristics of micro business
Abigail
for teaching engĺish at school how nano technology help us
Anassong
How can I make nanorobot?
Lily
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
how can I make nanorobot?
Lily
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
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!