creates a finite impulse response (FIR) filter kernel using a frequency sampling method from amplitude values ai.


creates an FIR filter kernel of type m.

Details and Options

  • Possible types m for FIR filters created for a list {a1,a2,,ak} of amplitudes are:
  • The default type is .
  • The frequency sampling method uniformly samples the frequency domain from 0 to .
  • FrequencySamplingFilterKernel by default uses a sampling of the frequency domain at integer multiples of , where is the length of the filter. With "Shifted"->True, the frequencies are shifted from 0 by . »
  • Amplitude values should be non-negative. Typically, values ai=0 specify a stopband, and values ai=1 specify a passband.
  • The kernel ker returned by FrequencySamplingFilterKernel can be used in ListConvolve[ker,data] to apply the filter to data.
  • FrequencySamplingFilterKernel takes a WorkingPrecision option that specifies the precision to use in internal computations. The default setting is WorkingPrecision->MachinePrecision.


open all close all

Basic Examples  (1)

A symmetric odd-length FIR lowpass kernel:

Click for copyable input
Click for copyable input

Scope  (7)

Options  (1)

Applications  (2)

Properties & Relations  (1)

Introduced in 2012