Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- how did you find n and Wn of FIR1 matlab function? Thanks --- Quote End --- cut off = 10Hz on a sampling frequency of 1KHz i.e. cutoff is 10/1000 relative to Fs of 1(1 cycle or 2pi) hence 10/1000 *2(pi) = 20/1000 pi = .02 pi n is experimental to get -60dB, you can use other options... apply freqz to see: freqz(h,1,0:.01:500,1000);