TVec CosineTappered(TVec Src, Double Percent, Int32 Index, Int32 Len)
Cosine tappered window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | source TVec |
| 2 | Percent | Double | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Returns: TVec
Remarks:
Applies Cosine tappered 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. When percent parameter is 100, the CosineTappered window becomes equal to the hanning window. When the Percent parameter is 0, then the window remains rectangular (box car).
See Also: SignalUtils.Kaiser, SignalUtils.SignalWindow