How can we implement ?
2 次查看(过去 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 中查找有关 Get Started with DSP System Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!