function CosineTappered(const Src: TVec; Percent: Double; Index: Integer; Len: Integer): TVec;
Cosine tappered window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | |
| 2 | Percent | Double | scalar |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | 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