Why am I unable to obtain a phase response plot using the FREQZ function?
Show older comments
I unable to obtain a phase response plot using the FREQZ function, but am able to get a phase plot when using the FREQZPLOT function with the same parameters. I would expect the plots to be the same using both functions. I use the following code to obtain the frequency response vector, but the phase response plot has nothing in it:
freqz(num,den,4096,Fs);
When I try to the following command:
[h,f,s]=freqz(num,den,4096,Fs);
freqzplot(h,f,s);
I get a phase response plot. Note that my frequency response vector contains elements that have very small magnitudes.
Accepted Answer
More Answers (0)
Categories
Find more on Filter Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!