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!