|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
BandpassFilter
BandpassFilter[data, {
1,
2}]
applies a bandpass filter with cutoff frequencies
and
to an array of data.
BandpassFilter[data, {
1,
2}, n]
uses a filter kernel of length n.
BandpassFilter[data, {
1,
2}, n, wfun]
applies a smoothing window wfun to the filter kernel.
Details and OptionsDetails and Options
- BandpassFilter works with arbitrary rank numerical arrays as well as with 3D and 2D images, operating separately on each channel.
- When applied to images and multidimensional arrays, filtering is applied successively to each dimension starting at level 1. BandpassFilter[data, {{
11,
21}, ...}] uses the frequencies
for the i
dimension. - BandpassFilter[data, {
1,
2}] uses a filter kernel length and smoothing window suitable for the cutoff frequencies
and the input data. - Typical windows include:
-
BlackmanWindow smoothing with a Blackman window DirichletWindow no smoothing HammingWindow smoothing with a Hamming window {v1,v2,...} use a window with values 
f create a window by sampling f over the range
and 
- BandpassFilter takes a SampleRate option that specifies the sampling rate of the data. With SampleRate->r, the cutoff frequencies should be between 0 and r×
. - By default, SampleRate->1 is assumed for images as well as data.
- BandpassFilter works with SampledSoundList. With SampledSoundList[list, r], SampleRate->r is used.
- For multichannel sound and image objects, each channel is processed separately.
- BandpassFilter takes a Padding option that specifies the padding values to use on the sides of the input.
- The default setting is Padding->"Fixed", corresponding to repetitions of the elements on each side.
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



