WOLFRAM

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)Summary of the most common use cases

Shape of a 1D BlackmanHarris window:

Out[1]=1

Shape of a 2D BlackmanHarris window:

Out[1]=1

Extract the continuous function representing the BlackmanHarris window:

Out[1]=1

Scope  (4)Survey of the scope of standard use cases

Evaluate numerically:

Out[1]=1

Translated and dilated BlackmanHarris window:

Out[1]=1

2D BlackmanHarris window with a circular support:

Out[1]=1

Discrete BlackmanHarris window of length 15:

Out[1]=1

Discrete 15×10 2D BlackmanHarris window:

Out[2]=2

Applications  (3)Sample problems that can be solved with this function

Create a moving average filter of length 11:

Out[1]=1

Taper the filter using a BlackmanHarris window:

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

Out[3]=3

Use a window specification to calculate sample PowerSpectralDensity:

Calculate the spectrum:

Compare to spectral density calculated without a windowing function:

Out[4]=4

The plot shows that window smooths the spectral density:

Out[5]=5

Compare to the theoretical spectral density of the process:

Out[6]=6

Use a window specification for time series estimation:

Specify window for spectral estimator:

Out[2]=2

Properties & Relations  (2)Properties of the function, and connections to other functions

The area under the BlackmanHarris window:

Out[1]=1

Normalize to create a window with unit area:

Out[2]=2

Fourier transform of the BlackmanHarris window:

Out[1]=1

Power spectrum of the BlackmanHarris window:

Out[2]=2
Wolfram Research (2012), BlackmanHarrisWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html.
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.

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.

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_blackmanharriswindow, organization={Wolfram Research}, title={BlackmanHarrisWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html}, note=[Accessed: 13-May-2025 ]}

@online{reference.wolfram_2025_blackmanharriswindow, organization={Wolfram Research}, title={BlackmanHarrisWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/BlackmanHarrisWindow.html}, note=[Accessed: 13-May-2025 ]}