Hanning Function

DOWNLOAD Mathematica Notebook Hanning

An apodization function, also called the Hann function, frequently used to reduce leakage in discrete Fourier transforms. The illustrations above show the Hanning function, its instrument function, and a blowup of the instrument function sidelobes. It is named after the Austrian meteorologist Julius von Hann (Blackman and Tukey 1959, pp. 98-99). The Hanning function is given by

A(x)=cos^2((pix)/(2a))
(1)
=1/2[1+cos((pix)/a)].
(2)

Its full width at half maximum is a.

It has instrument function

I(k)=(asinc(2pika))/(1-4a^2k^2)
(3)
=a[sinc(2pika)+1/2sinc(2pika-pi)+1/2sinc(2pika+pi)].
(4)

To investigate the instrument function, define the dimensionless parameter u=2pika and rewrite the instrument function as

 I(u)=a(sinc(u))/(1-(u^2)/(pi^2)).
(5)

The half-maximum can then be seen to occur at

 u_(1/2)=2pik_(1/2)a=pi,
(6)

so for L=2a, the full width at half maximum is

 FWHM=2k_(1/2)=1/a=2/L.
(7)

To find the extrema, take the derivative

 (dA)/(du)=(pi^2(-u^3cosu+3u^2sinu+pi^2ucosu-pi^2sinu))/(u^2(pi^2-u^2)^2)
(8)

and equate to zero. The first two roots are u=7.42023... and 10.7061..., corresponding to the first sidelobe minimum (-0.0267075a) and maximum (0.0084344060a), respectively.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.