Question

High Pass Filter with FIR (Window Methods) PLEASE DESIGN THE ABOVE USING MATLAB OR SIMULINK

High Pass Filter with FIR (Window Methods)

PLEASE DESIGN THE ABOVE USING MATLAB OR SIMULINK

0 0
Add a comment Improve this question Transcribed image text
Answer #1
25-tap high pass filter with rectangular window and Blackman window
Matlab code
clear all;
close all;
clc;
wc=.5*pi;
N=25;
alpha=(N-1)/2;
eps=.001;
n=0:1:N-1;
hd=(sin(pi*(n-alpha+eps))-sin(wc*(n-alpha+eps)))./(pi*(n-alpha+eps));
wr=boxcar(N);
hn=hd.*wr';
w=0:.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h));
hold on;
wb=blackman(N);
hn=hd.*wb';
w=0:.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h),'_.');
grid;
xlabel('normalised frequency');
ylabel('magnitude');
hold off;

Add a comment
Know the answer?
Add Answer to:
High Pass Filter with FIR (Window Methods) PLEASE DESIGN THE ABOVE USING MATLAB OR SIMULINK
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT