# win_hann2

Version:

Generates a Hanning window of a specified number of points. A Hanning window is also called a Hann window.

## Syntax

c = win_hann2(a)
c = win_hann2(a, b)
Legacy name: hanning

## a

Size of the Hanning window. a is a positive integer.

## b

Type of Hanning window to generate. b is a string that accepts the following values.

Name Description
'periodic'

Generates a periodic Hanning window.

'symmetric'

Generates a symmetric Hanning window.

Default: 'symmetric'

## c

Hanning window of size a. c is a real column vector.

C = win_hann2(8)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices