HyperMath

WelchWin

WelchWin

Previous topic Next topic No expanding text in this topic  

WelchWin

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Generates a vector of a Welch window of a given length.

Syntax

W = WelchWin(Length, Type)

Argument

Name

Description

 

Length

A positive integer specifying the length of the window.

 

Type

A string. ‘periodic’ or ’symmetric’ (default). See Comments.

Output

Name

Description

 

W

Vector containing the window of a specified length.

Example

A Hanning window of length 32.

 

Syntax

 

W = WelchWin(32)

 

Result

 

W will be a 32 element vector.

Comments

When Type = ’symmetric’, the vector is symmetric about its median. This case is appropriate for time domain processing, as when using an FIR filter.

When Type = ’periodic’, the vector contains the first Length points of a (Length+1) symmetric vector. This case is appropriate for frequency domain processing, as when using BlockFft.

See Also:

ChebyWin

HammWin

HannWin

BlackmanWin

ParzenWin