![]() |
>> freqz(num,den)Notice the frequency scale. Also, the magnitude response is in dB.
>> [H,w]=freqz(num,den);
>> subplot(2,1,1)
>> plot(w,abs(H))
>> grid on
>> xlabel('freq. (rad/sec)')
>> ylabel('mag. response')
>> subplot(2,1,2)
>> plot(w,angle(H))
>> grid on
>> xlabel('freq. (rad/sec)')
>> ylabel('phase response')