function Hamming(const Src: TVec; WindowMode: TSignalWindowMode): TVec;
Hamming window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | |
| 2 | WindowMode | TSignalWindowMode |
Returns: TVec
Remarks:
Applies Hamming 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. Hamming window can be found in [1] p. 249 w[i] = 0.54 - 0.46cos((2pi i)/(n-1)), 0 <= i <= n-1 References:
[1] Digital signal processing, Vinay K. Ingle and John G. Proakis, Brooks-Cole, 2000.
See Also: SignalUtils.Kaiser, SignalUtils.SignalWindow
Indexed: function Hamming(const Src: TVec; WindowMode: TSignalWindowMode; Index: Integer; Len: Integer): TVec;
Hamming window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | |
| 2 | WindowMode | TSignalWindowMode | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Returns: TVec
Remarks:
Applies Hamming window to Src vector from element at Index to element at Index + Len - 1.