This function returns the filter coefficients of a Hanning window.
w = hann(m) w = hann(m, "symmteric") w = hann(m, "periodic")
positive integer value
string value, takes in "periodic" or "symmetric"
output variable, vector of real numbers
This is an Octave function. This function returns the filter coefficients of a Hanning window of length m supplied as input, to the output vector w. The second parameter can take the values "periodic" or "symmetric", depending on which the corresponding form of window is returned. The default is symmetric.