<< Chapter < Page Chapter >> Page >
(Blank Abstract)

Summary: amplitude formulas

Type A
I M h M 2 n 0 M 1 h n M n
II M 2 n 0 N 2 1 h n M n
III M 2 2 n 0 M 1 h n M n
IV M 2 2 n 0 N 2 1 h n M n

where M N 1 2

Amplitude response characteristics

To analyze or design linear-phase FIR filters, we need to know the characteristics of the amplitude response A .

Type Properties
I A is even about 0 A A
A is even about A A
A is periodic with 2 A 2 A
II A is even about 0 A A
A is odd about A A
A is periodic with 4 A 4 A
III A is odd about 0 A A
A is odd about A A
A is periodic with 2 A 2 A
IV A is odd about 0 A A
A is even about A A
A is periodic with 4 A 4 A

Evaluating the amplitude response

The frequency response H f of an FIR filter can be evaluated at L equally spaced frequencies between 0 and using the DFT. Consider a causal FIR filter with an impulse response h n of length- N , with N L . Samples of the frequency response of the filter can be written as H 2 L k n 0 N 1 h n 2 L n k Define the L -point signal g n 0 n L 1 as g n h n 0 n N 1 0 N n L 1 Then H 2 L k G k DFT L g n where G k is the L -point DFT of g n .

Types i and ii

Suppose the FIR filter h n is either a Type I or a Type II FIR filter. Then we have from above H f A M or A H f M Samples of the real-valued amplitude A can be obtained from samples of the function H f as: A 2 L k H 2 L k M 2 L k G k W L M k Therefore, the samples of the real-valued amplitude function can be obtained by zero-padding h n , taking the DFT, and multiplying by the complex exponential. This can be written as:

A 2 L k DFT L
    h n 0 L - N
W L M k

Types iii and iv

For Type III and Type IV FIR filters, we have H f M A or A H f M Therefore, samples of the real-valued amplitude A can be obtained from samples of the function H f as: A 2 L k H 2 L k M 2 L k G k W L M k Therefore, the samples of the real-valued amplitude function can be obtained by zero-padding h n , taking the DFT, and multiplying by the complex exponential.

A 2 L k DFT L
    h n 0 L - N
W L M k

Evaluating the amp resp (type i)

In this example, the filter is a Type I FIR filter of length 7. An accurate plot of A can be obtained with zero padding.

The following Matlab code fragment for the plot of A for a Type I FIR filter.

h = [3 4 5 6 5 4 3]/30;N = 7; M = (N-1)/2;L = 512; H = fft([h zeros(1,L-N)]); k = 0:L-1;W = exp(j*2*pi/L); A = H .* W.^(M*k);A = real(A); figure(1)w = [0:L-1]*2*pi/(L-1);subplot(2,1,1) plot(w/pi,abs(H))ylabel('|H(\omega)| = |A(\omega)|') xlabel('\omega/\pi')subplot(2,1,2) plot(w/pi,A)ylabel('A(\omega)') xlabel('\omega/\pi')print -deps type1

The command A = real(A) removes the imaginary part which is equal to zero to within computerprecision. Without this command, Matlab takes A to be a complex vector and the following plot command will not be right.

Observe the symmetry of A due to h n being real-valued. Because of this symmetry, A is usually plotted for 0 only.

Got questions? Get instant answers now!

Evaluating the amp resp (type ii)

The following Matlab code fragment produces a plot of A for a Type II FIR filter.

h = [3 5 6 7 7 6 5 3]/42;N = 8; M = (N-1)/2;L = 512; H = fft([h zeros(1,L-N)]); k = 0:L-1;W = exp(j*2*pi/L); A = H .* W.^(M*k);A = real(A); figure(1)w = [0:L-1]*2*pi/(L-1);subplot(2,1,1) plot(w/pi,abs(H))ylabel('|H(\omega)| = |A(\omega)|') xlabel('\omega/\pi')subplot(2,1,2) plot(w/pi,A)ylabel('A(\omega)') xlabel('\omega/\pi')print -deps type2

The imaginary part of the amplitude is zero. Notice that A 0 . In fact this will always be the case for a Type II FIR filter.

An exercise for the student: Describe how to obtain samples of A for Type III and Type IV FIR filters. Modify the Matlab code above for these types. Do you notice that A 0 always for special values of ?

Got questions? Get instant answers now!

Modules for further study

  • Zero Locations of Linear-Phase Filters
  • Design of Linear-Phase FIR Filters by Interpolation
  • Linear-Phase FIR Filter Design by Least Squares

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
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Intro to digital signal processing. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10203/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Intro to digital signal processing' conversation and receive update notifications?

Ask