Design High pass FIR filters of Type I and plot the
magnitude and phase spectra. (based on the given matlab code)
XX 1 type Filter clear all, close all: clc: n = 0:4; h_1 = (1 2 3 21); w = -pi: (pi/100) pi: H = freqz(h_1.1,ww); subplot (211), sten(n,h_1), title('Typel Filter'), axis((-1 5-1 4]); subplot (223), plot(ww/pi, abs(H)), title('Magnitude Response).... xlabel("Frequency in pi unit'), ylabel('Magnitude'); subplot (224), plot (ww/pi, angle(H)/pi), title('Phase Response),... xlabel('Frequency in pi unit'), ylabel('Pahse');
Type1 Filter 4 الا 3 3 N 1 0 -1 -1 0 1 2 2 3 5 Magnitude Response Phase Response 10 1 0.5 Magnitude 5 Pahse 0 -0.5 0 -1 -1 -1 1 1 -0.5 0 0.5 Frequency in pi unit -0.5 0 0 0.5 Frequency in pi unit
XX 1 type Filter clear all, close all: clc: n = 0:4; h_1 = (1 2 3 21); w = -pi: (pi/100) pi: H = freqz(h_1.1,ww); subplo
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
XX 1 type Filter clear all, close all: clc: n = 0:4; h_1 = (1 2 3 21); w = -pi: (pi/100) pi: H = freqz(h_1.1,ww); subplo
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!