how do i design a high pass filters in matlab without using the builtin function?
- by noura
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.