Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *Bartlett(TVec *Src); | Bartlett window. |
| 2 | TVec *Bartlett(TVec *Src, int Index, int Len); | Bartlett window. |
Overload 1: TVec *Bartlett(TVec *Src);
Bartlett window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * |
Remarks:
Applies Bartlett window to Src vector. 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. Bartlett window is a "triangular" window defined as [1] p. 248: w[n] = 2n/(M-1), 0 <= n <= (M-1)/2 w[n] = 2 - 2n/(M-1), (M-1)/2 <= n <= M-1 w[n] = 0 for other n References:
[1] Digital signal processing, Vinay K. Ingle and John G. Proakis, Brooks-Cole, 2000.
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler
Overload 2: TVec *Bartlett(TVec *Src, int Index, int Len);
Bartlett window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
Applies Bartlett window to Src vector from element at Index to element at Index + Len - 1.
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler