Sliman Izz
Followers: 0 Following: 0
Feeds
提问
Why I'm getting this error( Array indices must be positive integers or logical values)?
M=3 W = [0,0,0] for n = 0:2000 x = cos(0.03 * pi * n) stem(n,x) hold on; % hold the plot end b= [1 -2 4]; f...
2 years 前 | 1 个回答 | 0
1
个回答提问
i want to plot freq response of FIR filter
the filter is : w = linspace(0,pi); b0=1 b1=-2 b2=4 b=b0*conv(b1,b2) freqz(b,w) it gives me an error
2 years 前 | 1 个回答 | 0