firfreqsampl

FIR filter design by frequency sampling

Arguments

  1. Integer order
  2. Vector desired, size 16 elements'
  3. Real center frequency of NOTCH band
  4. Integer type, 0 = LOWPASS, 1 = HIGHPASS, 2 = BANDPASS, 3 = NOTCH

Output

Result vector

Examples

firfreqsampl