Question:H (z) = 1-2.462-1 + 3.02~-2-1.99ん-3 + 0.662-4 (7.5%) Compute the group delay of the systern in...
Question
Below is system in problem 1.
Please show your Matlab code, thank you.
H (z) = 1-2.462-1 + 3.02~-2-1.99ん-3 + 0.662-4
(7.5%) Compute the group delay of the systern in problem 1 using the following functions and compare the results obtained. (a) The Matlab function grpdelay. (b) The function grpdelay0 given Figure 5.13. (c) A function [grp, omega]-mygrpdelay (b, a) designed to implement equation (5.89)
(5.89) k-I
Figure 5.13 The derivative of H(eis determined from (4.145) as the DTFT of the sequence nhn (5.96) Hence 几 (5.97) H (e)
function Lga , omega-grpdelay0(b,a) % Computation of group delay K-1024; h-impz(b,a,K); n-(0:K-1) Hn-fft (n.*h,K); H-fft(h,K); indo-find (abs (H) 10$eps) ; gd-real (Hn./H); gd(ind0)-NaN; omega 2*pi (0:K-1)/K % omega-2*pi*(0:K/2) /K; % omega-2*pi*(-K/2+1 :K/2) /K; Fiqure 5.13 Computation of group-delay function using (5.96) and (5.97)
H (z) = 1-2.462-1 + 3.02~-2-1.99ん-3 + 0.662-4 (7.5%) Compute the group delay of the systern in...