How can we implement ?
조회 수: 1 (최근 30일)
이전 댓글 표시
y(n)=(1/2)*(x(n)*A(1)+y(n-1)*A(2)-y(n-2)*A(3)+y(n-3)*A(4)-y(n-4)*A(5));
n=1:200
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2014년 10월 7일
편집: Azzi Abdelmalek
2014년 10월 7일
A=[ 1 2 3 4 5]
D=[1 A(2) -A(3) A(4) -A(5)]
N=A(1)/2
x=ones(1,200) % your input signal
y=filter(N,D,x)
stem(y)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Array and Matrix Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!