필터 지우기
필터 지우기

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