<< welchwin FOSSEE Signal Processing Toolbox wkeep >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > window

window

This function creates an m-point window from the function f given as input.

Calling Sequence

w = window(f, m)
w = window(f, m, opts)

Parameters

f:

string value

m:

positive integer value

opts:

string value, takes in "periodic" or "symmetric"

w:

output variable, vector of real numbers

Description

This is an Octave function. This function creates an m-point window from the function f given as input, in the output vector w. f can take any valid function as a string, for example "blackmanharris".

Examples

window("hanning",5)
ans  =
0.
0.5
1.
0.5
0.

Report an issue
<< welchwin FOSSEE Signal Processing Toolbox wkeep >>