Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMatlab has four main methods to get fir coeffs:
1) fir1 function depends on using the sinc time domain equation + your chosen window(boxcar means no window). You just enter the order, cutoff and optional window. 2) fir2 function depends on ifft of required frequency vector. 3) firpm function is iterative(formerly called remez) => equiripple for amplitude across pass and stop bands 4) firls function targets equiripple for power in pass band In the last three: You enter filter order, frequency vector and amplitude vector and optional window. They also allow for weights. Other methods exist for speciality filters e.g. firrcos for raised cosine shaping filter ...etc www.trafford.com/07-1766 (http://www.trafford.com/07-1766)