TVec *CosineTappered(TVec *Src, double Percent, int Index = 0, int Len = - 1);
Cosine tappered window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | Percent | double | |
| 3 | Index = 0 | int | |
| 4 | Len = - 1 | int |
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
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler