Question: MATLAB num = input('Numerator Coefficient Vector = '); den = input('Denominator Coefficient Vector = '); [x, y] = eqtflength(num, den); [z, p, k] = tf2zp(x,
MATLAB
num = input('Numerator Coefficient Vector = ');
den = input('Denominator Coefficient Vector = ');
[x, y] = eqtflength(num, den);
[z, p, k] = tf2zp(x, y);
sos = zp2sos(z, p, k);

b. Use the above example code to generate a cascade realization of the filter described by: H, () - 2 + 107-' + 232 2 + 342-3 + 312 4 + 162-5 + 4z6 Draw the block diagram of the cascade structure and plot the frequency response. Is the system linear phase? Compare the frequency response of the H,() using freqz() and the second-order (sos) cascade using fvtool(). Is there any noticeable difference? c. Use the above example code to generate a cascade realization of the filter described by: H (2) = 6 +317"' + 742-2 + 1022-3 + 742 * +312 5 + 6z 6 Is the system linear phase? Draw the block diagram of the cascade structure of H,(z) with fewer multipliers than H,(2). Is the system linear phase? Compare the frequency response of the H,(z) using freqz() and the second-order (sos) cascade using fvtool(). Is there any noticeable difference? b. Use the above example code to generate a cascade realization of the filter described by: H, () - 2 + 107-' + 232 2 + 342-3 + 312 4 + 162-5 + 4z6 Draw the block diagram of the cascade structure and plot the frequency response. Is the system linear phase? Compare the frequency response of the H,() using freqz() and the second-order (sos) cascade using fvtool(). Is there any noticeable difference? c. Use the above example code to generate a cascade realization of the filter described by: H (2) = 6 +317"' + 742-2 + 1022-3 + 742 * +312 5 + 6z 6 Is the system linear phase? Draw the block diagram of the cascade structure of H,(z) with fewer multipliers than H,(2). Is the system linear phase? Compare the frequency response of the H,(z) using freqz() and the second-order (sos) cascade using fvtool(). Is there any noticeable difference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
