how do i design a high pass filters in matlab without using the builtin function?
Posted
by
noura
on Stack Overflow
See other posts from Stack Overflow
or by noura
Published on 2011-01-02T11:46:45Z
Indexed on
2011/01/02
11:53 UTC
Read the original article
Hit count: 188
matlab
hello everyone, i'm just not sure how to draw the frequency response (H) of the high pass filter? after drawing the frequency response i can get the b coefficient by taking the ifft of (H). so yeah, for a low pass filter, with a cutoff frequency of say pi/2 : the frequency response code will be H = exp(-1*j*w*4).*(((0 <= w) & (w<= pi/2)) | ((2*pi - pi/2 <= w) & (w<=2*pi)); sincr the response is "1" between 0 and pi/2 and between (2*pi - pi/2) and 2*pi. can you help me write H for a high pass filter? thanx in advance.
© Stack Overflow or respective owner