DSP Blockset    

Weight Parameters.   The Remez FIR Filter Design and Least Squares FIR Filter Design blocks allow you to weight the error minimization in certain frequency bands by entering a vector for the band Weights. The Weights parameter is useful when designing a compound filter (for example, a lowpass differentiator). For example, to specify a lowpass filter with a transition region in the normalized frequency range 0.4 to 0.5, and 10 times more error minimization in the stopband than the passband, use:

The Weights vector is always half the length of the Band edge frequency vector and Magnitudes at these frequencies vectors; there must be exactly one weight per band.

The Weights vector is interpreted differently when Hilbert Transformer or Differentiator is selected from the Filter type parameter:


 Frequency and Magnitude Parameters: Remez and Least Squares FIR Filter Design Example: Least Squares Multiband Filter