Skip to content Skip to navigation

Connexions

You are here: Home » Content » Four Types of Linear-Phase FIR Filters

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Four Types of Linear-Phase FIR Filters

Module by: Ivan Selesnick

Summary: (Blank Abstract)

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

FOUR TYPES OF LINEAR-PHASE FIR FILTERS

Linear-phase FIR filter can be divided into four basic types.

Table 1
Type impulse response
I symmetric length is odd
II symmetric length is even
III anti-symmetric length is odd
IV anti-symmetric length is even
Figure 1
Figure 1 (fourstem.png)

When hn h n is nonzero for 0nN1 0 n N 1 (the length of the impulse response hn h n is NN), then the symmetry of the impulse response can be written as

hn=hN1n h n h N 1 n (1)
and the anti-symmetry can be written as
hn=-hN1n h n h N 1 n (2)

TYPE I: ODD-LENGTH SYMMETRIC

The frequency response of a length N=5 N 5 FIR Type I filter can be written as follows.

H f ω= h 0 + h 1 -ω+ h 2 -2ω+ h 1 -3ω+ h 0 -4ω H f ω h 0 h 1 ω h 2 -2 ω h 1 -3 ω h 0 -4 ω (3)
H f ω=-2ω h 0 2ω+ h 1 ω+ h 2 + h 1 -ω+ h 0 -2ω H f ω -2 ω h 0 2 ω h 1 ω h 2 h 1 ω h 0 -2 ω (4)
H f ω=-2ω h 0 2ω+-2ω+ h 1 ω+-ω+ h 2 H f ω -2 ω h 0 2 ω -2 ω h 1 ω ω h 2 (5)
H f ω=-2ω2 h 0 cos2ω+2 h 1 cosω+ h 2 H f ω -2 ω 2 h 0 2 ω 2 h 1 ω h 2 (6)
H f ω=Aωθω H f ω A ω θ ω (7)
where θω=-2ω θ ω -2 ω Aω=2 h 0 cos2ω+2 h 1 cosω+ h 2 A ω 2 h 0 2 ω 2 h 1 ω h 2 Note that Aω A ω is real-valued and can be both positive and negative. In general, for a Type I FIR filters of length NN: H f ω=Aωθω H f ω A ω θ ω
Aω=hM+2n=0M1hncosMnω A ω h M 2 n 0 M 1 h n M n ω (8)
θω=-Mω θ ω M ω M=N12 M N 1 2

TYPE II: EVEN-LENGTH SYMMETRIC

The frequency response of a length N=4 N 4 FIR Type II filter can be written as follows.

H f ω= h 0 + h 1 -ω+ h 1 -2ω+ h 0 -3ω H f ω h 0 h 1 ω h 1 -2 ω h 0 -3 ω (9)
H f ω=-32ω h 0 32ω+ h 1 12ω+ h 1 -12ω+ h 0 -32ω H f ω -3 2 ω h 0 3 2 ω h 1 1 2 ω h 1 -1 2 ω h 0 -3 2 ω (10)
H f ω=-32ω h 0 32ω+-32ω+ h 1 12ω+-12ω H f ω -3 2 ω h 0 3 2 ω -3 2 ω h 1 1 2 ω -1 2 ω (11)
H f ω=-32ω2 h 0 cos32ω+2 h 1 cos12ω H f ω -3 2 ω 2 h 0 3 2 ω 2 h 1 1 2 ω (12)
H f ω=Aωθω H f ω A ω θ ω (13)
where θω=-32ω θ ω -3 2 ω Aω=2 h 0 cos32ω+2 h 1 cos12ω A ω 2 h 0 3 2 ω 2 h 1 1 2 ω In general, for a Type II FIR filters of length NN: H f ω=Aωθω H f ω A ω θ ω
Aω=2n=0N21hncosMnω A ω 2 n 0 N 2 1 h n M n ω (14)
θω=-Mω θ ω M ω M=N12 M N 1 2

TYPE III: ODD-LENGTH ANTI-SYMMETRIC

The frequency response of a length N=5 N 5 FIR Type III filter can be written as follows.

H f ω= h 0 + h 1 -ω( h 1 -3ω h 0 -4ω) H f ω h 0 h 1 ω h 1 -3 ω h 0 -4 ω (15)
H f ω=-2ω h 0 2ω+ h 1 ω( h 1 -ω h 0 -2ω) H f ω -2 ω h 0 2 ω h 1 ω h 1 ω h 0 -2 ω (16)
H f ω=-2ω h 0 2ω-2ω+ h 1 ω-ω H f ω -2 ω h 0 2 ω -2 ω h 1 ω ω (17)
H f ω=-2ω2 h 0 sin2ω+2 h 1 sinω H f ω -2 ω 2 h 0 2 ω 2 h 1 ω (18)
H f ω=-2ω2 h 0 sin2ω+2 h 1 sinω H f ω -2 ω 2 h 0 2 ω 2 h 1 ω (19)
H f ω=-2ωπ22 h 0 sin2ω+2 h 1 sinω H f ω -2 ω 2 2 h 0 2 ω 2 h 1 ω (20)
H f ω=Aωθω H f ω A ω θ ω (21)
where θω=-2ω+π2 θ ω -2 ω 2 Aω=2 h 0 sin2ω+2 h 1 sinω A ω 2 h 0 2 ω 2 h 1 ω In general, for a Type III FIR filters of length NN: H f ω=Aωθω H f ω A ω θ ω
Aω=2n=0M1hnsinMnω A ω 2 n 0 M 1 h n M n ω (22)
θω=-Mω+π2 θ ω M ω 2 M=N12 M N 1 2

TYPE IV: EVEN-LENGTH ANTI-SYMMETRIC

The frequency response of a length N=4 N 4 FIR Type IV filter can be written as follows.

H f ω= h 0 + h 1 -ω( h 1 -2ω h 0 -3ω) H f ω h 0 h 1 ω h 1 -2 ω h 0 -3 ω (23)
H f ω=-32ω h 0 32ω+ h 1 12ω( h 1 -12ω h 0 -32ω) H f ω -3 2 ω h 0 3 2 ω h 1 1 2 ω h 1 -1 2 ω h 0 -3 2 ω (24)
H f ω=-32ω h 0 32ω-32ω+ h 1 12ω-12ω H f ω -3 2 ω h 0 3 2 ω -3 2 ω h 1 1 2 ω -1 2 ω (25)
H f ω=-32ω2 h 0 sin32ω+2 h 1 sin12ω H f ω -3 2 ω 2 h 0 3 2 ω 2 h 1 1 2 ω (26)
H f ω=-32ω2 h 0 sin32ω+2 h 1 sin12ω H f ω -3 2 ω 2 h 0 3 2 ω 2 h 1 1 2 ω (27)
H f ω=-32ωπ22 h 0 sin32ω+2 h 1 sin12ω H f ω -3 2 ω 2 2 h 0 3 2 ω 2 h 1 1 2 ω (28)
H f ω=Aωθω H f ω A ω θ ω (29)
where θω=-32ω+π2 θ ω -3 2 ω 2 Aω=2 h 0 sin32ω+2 h 1 sin12ω A ω 2 h 0 3 2 ω 2 h 1 1 2 ω In general, for a Type IV FIR filters of length NN: H f ω=Aωθω H f ω A ω θ ω
Aω=2n=0N21hnsinMnω A ω 2 n 0 N 2 1 h n M n ω (30)
θω=-Mω+π2 θ ω M ω 2 M=N12 M N 1 2

Comments, questions, feedback, criticisms?

Send feedback