Professional Documents
Culture Documents
Bilinear Transformation Example
Bilinear Transformation Example
Bilinear Transformation Example
% Frequency response
N = 512; % FFT point number
[hz, f] = freqz(a, b, N, Fs); % computing frequency response
phi = 180*unwrap(angle(hz))/pi; % Unwarping the phase angle
subplot(211)
plot(f, abs(hz), 'linewidth', 2);
ylabel('Magnitude Response');xlabel('Frequency(Hz)');
subplot(212)
plot(f, phi, 'linewidth', 2);
ylabel('Phase Response'); xlabel('Frequency(Hz)');