フィルターのクリア

Phase plot for a simple digital filter looks wrong

1 回表示 (過去 30 日間)
Ted Ersek
Ted Ersek 2013 年 3 月 13 日
I tried to plot the phase response of a digital filter with transfer function H(z) = 1.28* z^-1 /(1-0.8*z^-1)
To do that I enterd,
b=[1.28,0];
a=[1,-0.8];
fvtool(b,a)
After the fvtool graphic pops-up, I clicked the "Phase response" button and got a plot for phase response. The plot shows a phase of zero at (Frequency = 0) and (Frequency = pi). Also the phase plot has a single local min at (frequency = 0.205*pi), (phase = -0.9273 radians).
It's easy to work out the phase at frequency = 3.141 by hand by computing H(exp( 3.141*i )). It's easy to see that the (Arg of that number) = (direction in the complex plane) = -3.141...
However, that is not consistent with the plot created with 'fvtool' in MATLAB. I was expecting a phase plot that decreased monotonicly. Am I not using the right features in MATLAB or what?
-- Ted Ersek --

採用された回答

Honglei Chen
Honglei Chen 2013 年 3 月 13 日
Hi Ted,
In your equation, it should be
b = [0 1.28]
HTH

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFilter Analysis についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by