필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

wheres the problem of this fiter code

조회 수: 1 (최근 30일)
elaine
elaine 2014년 11월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
bb1=[1,-0.9];
imp=1;
M=22;
r=0.9;
l=0:M;
bb2=r.^l;
HH=filter(bb1,1,bb2);
ZZ = filter(HH,1,imp)
nn=0:(length(HH)-1);
stem(nn,ZZ(nn+1));
xlabel('(n)')
ylabel('impulse response')

답변 (1개)

Henrik
Henrik 2014년 11월 27일
Without any explanations of your code it's hard to tell, but my guess would be that
ZZ = filter(HH,1,imp)
should be
ZZ = filter(imp,1,HH);
This gives no errors, but I don't know if it's correct.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by