TVec Hamming(TVec Src, TSignalWindowMode WindowMode)
Hamming window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | source 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: TVec Hamming(TVec Src, TSignalWindowMode WindowMode, Int32 Index, Int32 Len)
Hamming window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | source TVec |
| 2 | WindowMode | TSignalWindowMode | |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Returns: TVec
Remarks:
Applies Hamming window to Src vector from element at Index to element at Index + Len - 1.