Problems with Matlab Projects? You may face many Problems, but do not worry we are ready to solve your Problems. All you need to do is just leave your Comments. We will assure you that you will find a solution to your project along with future tips. On Request we will Mail you Matlab Codes for Registered Members of this site only, at free service...Follow Me.

FIR Filter Design Using MATLAB

OBJECTIVES

To learn how to design FIR (finite impulse response) filters with the given frequency specifications.

a. Fourier Transform Method and Window method

b. Optimal Design Method

PROCEDURE:

Part A Fourier Transform and Window Method

1. Design a lowpass FIR filter with the following specifications:

Number of filter taps=31 taps

Cut-off frequency=800 Hz

Sampling rate =8000 Hz

Fourier transform method.

Print the low pass FIR filter coefficients and plot the frequency responses using MATLAB.

MATLAB>>freqz(bLP,1,512,8000); % sampling rate=8000 Hz

Label and print your graph.

What are the filter gains for the stopband at 2000 Hz and passband at 200 Hz based on the plot of the magnitude frequency response?

2. Design a bandpass FIR filter with the following specifications:

Number of filter taps=31 taps,

Lower cut-off frequency=1000 Hz, upper cut-off frequency=1400 Hz,

Sampling rate =8000 Hz

Hanning window

Print the bandpass FIR filter coefficients and plot the frequency responses using MATLAB.

MATLAB>>freqz(bBP,1,512,8000); % sampling rate=8000 Hz

Label and print your graph.

What are the filter gains for the stopband at 500 Hz and 2500 Hz, and passband at 1200 Hz based on the plot of the magnitude response?

3. Design a highpass FIR filter with the following specifications:

Number of filter taps=31 taps,

Cut-off frequency=1500 Hz

Sampling rate =8000 Hz

Design using the Hamming window

Print the highpass FIR filter coefficients and plot the frequency responses using MATLAB.

MATLAB>>freqz(bHP,1,512,8000); % sampling rate=8000 Hz

Label and print your graph.

What are the filter gains for the stopband at 1000 Hz and cut-off frequency, and passband at 3000 Hz based on the plot of the magnitude response?

Part B: Optimal Design Method

Use Packs-McClellan algorithm (Remez exchange algorithm provided by MATLAB) to design the following FIR filters

1. Design a lowpass FIR filter with the following specifications:

Number of filter taps= determined on your trials

Sampling rate =8000 Hz

Passband: 0 - 1200 Hz

Stopband 1500 - 4000 Hz

Passband ripple: 1 dB

Stopband attenuation: 40 dB

Print the lowpass FIR filter coefficients and plot the frequency responses using MATLAB.

MATLAB>>freqz(bLP,1,512,8000); % sampling rate=8000 Hz

Label and print your graph.

What are the filter gains for the stopband at 3000 Hz and passband at 200 Hz based on the plot of the magnitude response?

2. Design a bandpass FIR filter with the following specifications:

Number of filter taps= determined on your trials

Sampling rate =8000 Hz

Passband: 1200 - 1600 Hz

Lower stopband 0 - 800 Hz

Upper stopband 2000 - 4000 Hz

Passband ripple: 1 dB

Stopband attenuation: 40 dB

Print the band pass FIR filter coefficients and plot the frequency responses using MATLAB.

MATLAB>>freqz(bBP,1,512,8000); % sampling rate=8000 Hz

Label and print your graph.

What are the filter gains for the stopband at 500 Hz and 2500 Hz, and passband at 1400 Hz based on the plot of the magnitude frequency response?

6 comments:

Unknown said...

Where can I find answers to the filter gains in the first 3 problems. I beleive my matlab code was correct on the first couple.

Unknown said...

Could you send me a solution to this exercise and posibbly the IIR one as well.

Anonymous said...

pls send it to tnals0921@gmail.net

Anonymous said...

pls send it to tnals0921@gmail.com

R Manikandan said...

Iam new in the area of image processing. I need MATLAB codes for image enhancement.

R Manikandan said...

Pls send it to money_kandan2004@yahoo.co.in

Post a Comment

Recent Comments

Popular Matlab Topics

Share your knowledge - help others

Crazy over Matlab Projects ? - Join Now - Follow Me

Sites U Missed to Visit ?

Related Posts Plugin for WordPress, Blogger...

Latest Articles

Special Search For Matlab Projects

MATLAB PROJECTS

counter

Bharadwaj. Powered by Blogger.