# Connexions

You are here: Home » Content » Digital Signal Processing: A User's Guide » Window Design Method

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

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

#### In these lenses

• SigProc

This module is included inLens: Signal Processing
By: Daniel McKennaAs a part of collection: "Fundamentals of Signal Processing"

Click the "SigProc" link to see all content selected in this lens.

Click the tag icon to display tags associated with this content.

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Inside Collection (Course):

Course by: Douglas L. Jones. E-mail the author

# Window Design Method

Module by: Douglas L. Jones. E-mail the author

The truncate-and-delay design procedure is the simplest and most obvious FIR design procedure.

## Exercise 1

Is it any Good?

### Solution

Yes; in fact it's optimal! (in a certain sense)

## L2 optimization criterion

find n,0nM1:hn n 0 n M 1 h n , maximizing the energy difference between the desired response and the actual response: i.e., find min hn hn ππ| H d ωHω|2d ω h n ω H d ω H ω 2 by Parseval's relationship

min hn hn ππ| H d ωHω|2d ω =2π n =| h d nhn|2=2π( n =1| h d nhn|2+ n =0M1| h d nhn|2+ n =M| h d nhn|2) h n ω H d ω H ω 2 2 n h d n h n 2 2 n 1 h d n h n 2 n M 1 0 h d n h n 2 n M h d n h n 2
(1)
Since n ,n<0nM:hn n n 0 n M h n this becomes min hn hn ππ| H d ωHω|2d ω = h =1| h d n|2+ n =0M1|hn h d n|2+ n =M| h d n|2 h n ω H d ω H ω 2 h 1 h d n 2 n M 1 0 h n h d n 2 n M h d n 2

### Note:

hn h n has no influence on the first and last sums.

The best we can do is let hn={ h d n  if  0nM10  if  else h n h d n 0 n M 1 0 else Thus hn= h d nwn h n h d n w n , wn={1  if  0nM10  if  else w n 1 0 n M 1 0 else is optimal in a least-total-sqaured-error ( L 2 L 2 , or energy) sense!

### Exercise 2

Why, then, is this design often considered undersirable?

#### Solution: Gibbs Phenomenon

For desired spectra with discontinuities, the least-square designs are poor in a minimax (worst-case, or L L ) error sense.

## Window Design Method

Apply a more gradual truncation to reduce "ringing" (Gibb's Phenomenon) n 0nM1 hn= h d nwn : n 0nM1 hn= h d nwn n 0 n M 1 h n h d n w n

### Note:

Hω= H d ω*Wω H ω H d ω W ω

The window design procedure (except for the boxcar window) is ad-hoc and not optimal in any usual sense. However, it is very simple, so it is sometimes used for "quick-and-dirty" designs of if the error criterion is itself heurisitic.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

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

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

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