Skip to content Skip to navigation

Connexions

You are here: Home » Content » Filtering: Numerical Experiment (Frequency Response of First-Order Filter)

Navigation

Lenses

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.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • Featured Content display tagshide tags

    This module is included inLens: Connexions Featured Content
    By: ConnexionsAs a part of collection:"A First Course in Electrical and Computer Engineering"

    Comments:

    "A First Course in Electrical and Computer Engineering provides readers with a comprehensive, introductory look at the world of electrical engineering. It was originally written by Louis Scharf […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon 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.

Filtering: Numerical Experiment (Frequency Response of First-Order Filter)

Module by: Louis Scharf. E-mail the author

User rating (How does the rating system work?)
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)

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.

Note:

This module is part of the collection, A First Course in Electrical and Computer Engineering. The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Consider the exponential moving average filter

xn=k=0akun-k;a=0.98.xn=k=0akun-k;a=0.98.(1)
  1. Write out a few terms of the sum to show how the filter works.
  2. Write xn as a recursion and discuss the computer memory required to implement the filter.
  3. Compute the complex frequency response H(ejθ)H(ejθ) for the filter.
  4. Write a MATLAB program to plot the magnitude and phase of the complex frequency response H(ejθ)H(ejθ) versus θ for θ=-πto+πθ=-πto+π in steps of 2π642π64 Do this for two values of a, namely, a=0.98a=0.98 and a=-0.98a=-0.98. Explain your findings.
  5. Write a MATLAB program to pass the following signals through the filter when a=0.98a=0.98:
    1. un=δnun=δn
    2. un=ξnun=ξn
    3. un=ξncos2π64nun=ξncos2π64n
    4. un=ξncos2π32nun=ξncos2π32n
    5. un=ξncos2π16nun=ξncos2π16n
    6. un=ξncos2π8nun=ξncos2π8n
    7. un=ξncos2π4nun=ξncos2π4n
    8. un=ξncos2π2nun=ξncos2π2n.

Plot the outputs for each case and interpret your findings in terms of the complex frequency response H(ejθ)H(ejθ). Repeat step 5 for a=-0.98a=-0.98. Interpret your findings.

Content actions

Give Feedback:

E-mail the module author | Rate 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)

Download:

Add module to:

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 (?)

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