Wolfram Language & System 10.4 (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 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 sound 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 for the ^(th) dimension.
  • HighpassFilter[data,ωc] uses a filter kernel length and smoothing window suitable for the cutoff frequency 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
    fcreate a window by sampling f between and
  • Possible sound objects include:
  • SampledSoundList[{a1,a2,},r]amplitude levels given in a list
    SampledSoundFunction[f,n,r]amplitude levels generated by a function
    Sound[prims,]excluding SoundNote objects in prims
  • 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 should be between 0 and r×.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

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
Introduced in 2012
| Updated in 2015