当前位置:编程学习 > Matlab >>

谁有matlab中ideal_bp1的函数代码,急求

答案:function hd=ideal_bp1(Wcl,Wch,N) %compute the ideal bandpass fiter unit pulse respondence hd(n) %wcl: low cutoff frequency %wch: high cutoff frequency %N: window length %hd: unit pulse respondence alpha= (N-1)/2; n=0:1:N-1; m=n-alpha+eps; hd=[sin(Wch*m)-sin(Wcl*m)]./(pi*m);

上一个:请问如何在Matlab中画出z=exp(x.^2+y.^2)的图像?请给出完整代码(M文件代码)
下一个:Matlab求解一简单方程,请把m文件代码贴上,多谢啦!

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,