SignalUtils.BlackmanHarris Method

TVec BlackmanHarris(TVec Src, TSignalWindowMode WindowMode)

Blackman-Harris window.

#NameTypeDescription
1SrcTVecsource TVec
2WindowModeTSignalWindowMode

Returns: TVec

Remarks:

Applies BlackmanHarris window to Src. Window functions are applied to the signal prior to conversion to frequency domain with the FFT algorithm, to reduce the spectral leakage. Their side-effect is a lower frequency resolution.

w[n] := 0.42323 - 0.49755*cos(2*Pi*n/(n-1)) + 0.07922*cos(4*Pi*n/(n-1))

0 <= n <= M - 1

See Also: SignalUtils.BlackmanExact, SignalUtils.Kaiser, SignalUtils.SignalWindow

Indexed: TVec BlackmanHarris(TVec Src, TSignalWindowMode WindowMode, Int32 Index, Int32 Len)

Blackman Harris window.

#NameTypeDescription
1SrcTVecsource TVec
2WindowModeTSignalWindowMode
3IndexInt32start index
4LenInt32element count

Returns: TVec

Remarks:

Applies exact Blackman Harris window to Src vector from element at Index to element at Index + Len - 1.