フィルターのクリア

How can I calculate AR coefficients from zero-poles?

1 回表示 (過去 30 日間)
Fa'
Fa' 2012 年 9 月 7 日
I all, I've to calculate AutoRegressive Model coefficients starting from zeros and poles values. There is any command that can do this? I've tried with
[b,a]=zp2tf(1,p,1);
but it seems to be uncorrect.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 7 日
編集済み: Azzi Abdelmalek 2012 年 9 月 7 日
%example,
z=1 % one zero
p=[-1 -2], % two poles
model=tf(poly(z),poly(p))
[b,a]=tfdata(model,'v')
  2 件のコメント
Fa'
Fa' 2012 年 9 月 7 日
Thank you Azzi. I've another question: How can I do If I have to generate a signal using this AR model with White Noise as input?
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 7 日
use
lsim(model,u,t)
% t is time
% u yuour white noise

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by