represents a Blackman–Nuttall window function of x.
BlackmanNuttallWindow
represents a Blackman–Nuttall window function of x.
Details
- BlackmanNuttallWindow 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.
- BlackmanNuttallWindow[x] is equal to
. - BlackmanNuttallWindow automatically threads over lists.
Examples
open all close allBasic Examples (3)
Shape of a 1D Blackman–Nuttall window:
Plot[BlackmanNuttallWindow[x], {x, -1, 1}]Shape of a 2D Blackman–Nuttall window:
Plot3D[BlackmanNuttallWindow[x]BlackmanNuttallWindow[y], {x, -1, 1}, {y, -1, 1}, PlotRange -> All]Extract the continuous function representing the Blackman–Nuttall window:
FunctionExpand[BlackmanNuttallWindow[x]]Scope (4)
BlackmanNuttallWindow[0.1]Translated and dilated Blackman–Nuttall window:
Plot[BlackmanNuttallWindow[(x - 1) / 2], {x, -1, 3}]2D Blackman–Nuttall window with a circular support:
Plot3D[BlackmanNuttallWindow[Sqrt[x ^ 2 + y ^ 2]], {x, -1, 1}, {y, -1, 1}, PlotRange -> All]Discrete Blackman–Nuttall window of length 15:
ListPlot[Array[BlackmanNuttallWindow, 15, {-1 / 2, 1 / 2}], Filling -> Axis]Discrete 15×10 2D Blackman–Nuttall window:
ListPointPlot3D[Array[BlackmanNuttallWindow[#1] BlackmanNuttallWindow[#2]&, {15, 10}, {{-1 / 2, 1 / 2}}], Filling -> Axis, PlotRange -> All]Applications (3)
Create a moving average filter of length 11:
h = ConstantArray[1 / 21., 21]Taper the filter using a Blackman–Nuttall window:
w = Array[BlackmanNuttallWindow, Length[h], {-1 / 2, 1 / 2}];
fir = w h;Log-magnitude plot of the power spectra of the filters:
LogLinearPlot[Evaluate[20Log[10, Abs@ListFourierSequenceTransform[#, ω]]& /@ {h, fir}], {ω, 0.01, Pi}, PlotRange -> {5, -100}, GridLines -> Automatic]Use a window specification to calculate sample PowerSpectralDensity:
proc = ARMAProcess[1, {.5}, {.3}, 1];
data = RandomFunction[proc, {50}];spec = PowerSpectralDensity[data, w, BlackmanNuttallWindow];Compare to spectral density calculated without a windowing function:
sd = PowerSpectralDensity[data, w];sd === specThe plot shows that window smooths the spectral density:
Plot[{sd, spec}, {w, -π, π}, PlotRange -> All, PlotLegends -> {"no window", "with window"}]Compare to the theoretical spectral density of the process:
Plot[{spec, Evaluate@PowerSpectralDensity[proc, w]}, {w, -π, π}, PlotLegends -> {"data", "process"}]Use a window specification for time series estimation:
data = RandomFunction[ARMAProcess[1, {.3}, {.4}, 1], {300}];Specify window for spectral estimator:
EstimatedProcess[data, ARMAProcess[1, 1], ProcessEstimator -> {"SpectralEstimator", "Window" -> BlackmanNuttallWindow}]Properties & Relations (2)
The area under the Blackman–Nuttall window:
area = Integrate[BlackmanNuttallWindow[x], {x, -∞, ∞}]Normalize to create a window with unit area:
Plot[{BlackmanNuttallWindow[x], BlackmanNuttallWindow[x] / area}, {x, -1, 1}, PlotRange -> All]Fourier transform of the Blackman–Nuttall window:
f = FourierTransform[BlackmanNuttallWindow[x], x, w]Power spectrum of the Blackman–Nuttall window:
LogLinearPlot[20 Log[10, Abs[f]], {w, .1, 80}]Related Guides
History
Text
Wolfram Research (2012), BlackmanNuttallWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/BlackmanNuttallWindow.html.
CMS
Wolfram Language. 2012. "BlackmanNuttallWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlackmanNuttallWindow.html.
APA
Wolfram Language. (2012). BlackmanNuttallWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlackmanNuttallWindow.html
BibTeX
@misc{reference.wolfram_2026_blackmannuttallwindow, author="Wolfram Research", title="{BlackmanNuttallWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/BlackmanNuttallWindow.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_blackmannuttallwindow, organization={Wolfram Research}, title={BlackmanNuttallWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/BlackmanNuttallWindow.html}, note=[Accessed: 13-June-2026]}