Connexions

You are here: Home » Content » MATLAB FIR Filter Design Exercise
Content Actions
Lenses

What is 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.

This content is ...
Affiliated with (?)
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.
  • This module is included inLens: Rice University OpenCourseWare
    By: OpenCourseWare ConsortiumAs a part of collections:"Intro to Digital Signal Processing", "Finite Impulse Response"

    Click the "Rice University OCW" link to see all content affiliated with them.

    Rice University OCW
Tags

(?)

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

MATLAB FIR Filter Design Exercise

Module by: Hyeokho Choi

Summary: This is FIR filter design exercise in MATLAB.

FIR Filter Design MATLAB Exercise

Design by windowing

Problem 1
Assuming sampling rate at 48kHz, design an order-40 low-pass filter having cut-off frequency 10kHz by windowing method. In your design, use Hamming window as the windowing function.
[ Click for Solution 1 ]
Solution 1
		
		b = fir1(40,10.0/48.0)
		
	      
[ Hide Solution 1 ]

Parks-McClellan Optimal Design

Problem 2
Assuming sampling rate at 48kHz, design an order-40 lowpass filter having transition band 10kHz-11kHz using the Parks-McClellan optimal FIR filter design algorithm.
[ Click for Solution 2 ]
Solution 2
		
		b = remez(40,[1 1 0 0],[0 10/48 11/48 1])
		
	      
[ Hide Solution 2 ]

Comments, questions, feedback, criticisms?

Send feedback