Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


applies a highpass filter with a cutoff frequency ωc to an array of data.

uses a filter kernel of length n.

applies a smoothing window wfun to the filter kernel.

applies a highpass filter to image.

applies a highpass filter to sampled audio object.

Details and OptionsDetails and Options

  • HighpassFilter works with arbitrary-rank numerical arrays, regular and irregular time series, 2D and 3D images, and sampled sound objects, operating separately on each channel.
  • When applied to images and multidimensional arrays, filtering is applied successively to each dimension, starting at level 1. HighpassFilter[data,{ωc1,ωc2,}] uses the frequency ωci for the ^(th) dimension.
  • HighpassFilter[data,ωc] uses a filter kernel length and smoothing window suitable for the cutoff frequency ωc and the input data.
  • Typical smoothing windows wfun include:
  • BlackmanWindowsmoothing with a Blackman window
    DirichletWindowno smoothing
    HammingWindowsmoothing with a Hamming window
    {v1,v2,}use a window with values vi
    fcreate a window by sampling f between and
  • HighpassFilter works with numeric lists as well as Audio and Sound objects.
  • The following options can be given:
  • Padding"Fixed"the padding value to use
    SampleRateAutomaticsample rate assumed for the input
  • By default, SampleRate->1 is assumed for images as well as data. For sampled sound object of sample rate of r, SampleRate->r is used.
  • With SampleRate->r, the cutoff frequency ωc should be between 0 and r×.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Highpass filtering of a unit step sequence:

Click for copyable input

Highpass filtering of a sinusoidal sequence:

Click for copyable input

Highpass filtering of an image:

Click for copyable input

Lowpass filtering of an Audio object:

Click for copyable input
Introduced in 2012
| Updated in 2016