BlackmanHarrisWindow

BlackmanHarrisWindow[x]

represents a BlackmanHarris window function of x.

Details

  • BlackmanHarrisWindow is a window function typically used in signal processing applications where data needs to be processed in short segments.
  • Window functions have a smoothing effect by gradually tapering data values to zero at the ends of each segment.
  • BlackmanHarrisWindow[x] is equal to  (48829 cos(2 pi x)+14128 cos(4 pi x)+1168 cos(6 pi x)+35875)/(100000) -1/2<=x<=1/2; 0 TemplateBox[{x}, Abs]>1/2; .
  • BlackmanHarrisWindow automatically threads over lists.

Examples

open allclose all

Basic Examples  (3)

Shape of a 1D BlackmanHarris window:

Shape of a 2D BlackmanHarris window:

Extract the continuous function representing the BlackmanHarris window:

Scope  (4)

Evaluate numerically:

Translated and dilated BlackmanHarris window:

2D BlackmanHarris window with a circular support:

Discrete BlackmanHarris window of length 15:

Discrete 15×10 2D BlackmanHarris window:

Applications  (3)

Create a moving average filter of length 11:

Taper the filter using a BlackmanHarris window:

Log-magnitude plot of the power spectra of the two filters:

Use a window specification to calculate sample PowerSpectralDensity:

Calculate the spectrum:

Compare to spectral density calculated without a windowing function:

The plot shows that window smooths the spectral density:

Compare to the theoretical spectral density of the process:

Use a window specification for time series estimation:

Specify window for spectral estimator:

Properties & Relations  (2)

The area under the BlackmanHarris window:

Normalize to create a window with unit area:

Fourier transform of the BlackmanHarris window:

Power spectrum of the BlackmanHarris window:

Wolfram Research (2012), BlackmanHarrisWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html.

Text

Wolfram Research (2012), BlackmanHarrisWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html.

CMS

Wolfram Language. 2012. "BlackmanHarrisWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html.

APA

Wolfram Language. (2012). BlackmanHarrisWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html

BibTeX

@misc{reference.wolfram_2024_blackmanharriswindow, author="Wolfram Research", title="{BlackmanHarrisWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_blackmanharriswindow, organization={Wolfram Research}, title={BlackmanHarrisWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html}, note=[Accessed: 22-December-2024 ]}