photo

Sliman Izz


Last seen: 10 months ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer