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

Design of fir filters by general interpolation

If the desired interpolation points are not uniformly spaced between 0 and then we can not use the DFT. We must take a different approach. Recall that for a Type I FIRfilter, A h M 2 n 0 M 1 h n M n For convenience, it is common to write this as A n 0 M a n n where h M a 0 and n 1 n N 1 h n a M n 2 . Note that there are M 1 parameters. Suppose it is desired that A interpolates a set of specified values: k 0 k M A k A k To obtain a Type I FIR filter satisfying these interpolation equations, one can set up a linear system of equations. k 0 k M n 0 M a n n k A k In matrix form, we have 1 0 2 0 M 0 1 1 2 1 M 1 1 M 2 M M M a 0 a 1 a M A 0 A 1 A M Once a n is found, the filter h n is formed as h n 1 2 a M a M 1 a 1 2 a 0 a 1 a M 1 a M

Example

In the following example, we design a length 19 Type I FIR. Then M 9 and we have 10 parameters. We can therefore have 10 interpolation equations. We choose:

k k 0 0.1 0.2 0.3 0 k 3 A k 1
k k 0.5 0.6 0.7 0.8 0.8 1.0 4 k 9 A k 0
To solve this interpolation problem in Matlab, note that the matrix can be generated by a single multiplication of a columnvector and a row vector. This is done with the command C = cos(wk*[0:M]); where wk is a column vector containing the frequency points. To solve the linear system ofequations, we can use the Matlab backslash command.

N = 19; M = (N-1)/2;wk = [0 .1 .2 .3 .5 .6 .7 .8 .9 1]'*pi;Ak = [1 1 1 1 0 0 0 0 0 0]';C = cos(wk*[0:M]);a = C/Ak; h = (1/2)*[a([M:-1:1]+1); 2*a([0]+1); a(1:M]+1)];[A,w] = firamp(h,1);plot(w/pi,A,wk/pi,Ak,'o') title('A(\omega)')xlabel('\omega/\pi')

The general interpolation problem is much more flexible than the uniform interpolation problem that the DFT solves. Forexample, by leaving a gap between the pass-band and stop-band as in this example, the ripple near the band edge is reduced(but the transition between the pass- and stop-bands is not as sharp). The general interpolation problem also arises as asubproblem in the design of optimal minimax (or Chebyshev) FIR filters.

Linear-phase fir filters: pros and cons

FIR digital filters have several desirable properties.

  • They can have exactly linear phase.
  • They can not be unstable.
  • There are several very effective methods for designing linear-phase FIR digital filters.
On the other hand,
  • Linear-phase filters can have long delay between input and output.
  • If the phase need not be linear, then IIR filters can be more efficient.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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