BartlettHannWindow

BartlettHannWindow[x]

represents a BartlettHann window function of x.

Details

Examples

open allclose all

Basic Examples  (3)

Shape of a 1D BartlettHann window:

Shape of a 2D BartlettHann window:

Extract the continuous function representing the BartlettHann window:

Scope  (4)

Translated and dilated BartlettHann window:

2D BartlettHann window with a circular support:

Evaluate numerically:

Discrete BartlettHann window of length 15:

Discrete 15×10 2D BartlettHann window:

Applications  (3)

Create a moving average filter of length 11:

Smooth the filter using a BartlettHann window:

Log-magnitude plot of the frequency spectrum of the 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 BartlettHann window:

Normalize to create a window with unit area:

Fourier transform of the BartlettHann window:

Power spectrum of the BartlettHann window:

Introduced in 2012
 (9.0)