SignalUtils.BlackmanOptimal Method

function BlackmanOptimal(const Src: TVec; Index: Integer; Len: Integer): TVec;

Optimal Blackman window.

#NameTypeDescription
1SrcTVec
2IndexIntegerstart index
3LenIntegerelement 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