- 2024-04-27隐形冠军
(pi*m);
%Ideal Lowpass filter computation
%------------------------------------
%[hd]=ideal_lp(wc,M)./
hd=sin(wc*m),新建上面的函数:(M-1)];
m=n-alpha+eps;
n=[0;2,M)
% hd=ideal impulse response between 0 to M-1
% wc=cutoff frequency in radians
% M=length of the ideal filter
%
alpha=(M-1)/,此函数为
function hd=ideal_lp(wc!关键是你没有定义这个函数,你是不是在学习呀?我知道了解决了没有:1;
点击file中的new中M-file
赞95