SignalUtils.BlackmanOptimal Method

TVec BlackmanOptimal(TVec Src, Int32 Index, Int32 Len)

Optimal Blackman window.

#NameTypeDescription
1SrcTVecsource TVec
2IndexInt32start index
3LenInt32element count

Returns: TVec

Remarks:

Applies optimal Blackman 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. The following function defines the Blackman window:

w[n] = (alpha + 1)/2 - 0.5cos((2pi n)/(n-1)) - alpha/2cos((4pi n)/(n-1)) alpha = -((sin(pi/(n-1)))/( ) sin(2pi/(n-1)))^2

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