bartlett
Bartlett’s window.
| Library |
|
Arguments
Input arguments
# L — window length
+
positive integer
Details
The window length specified as a positive integer.
If you set L as a non-integer, the function will round it to the nearest integer value.
|
| Типы данных |
|
# typeName — type of output data
+
Float64 (by default) | Float32
Algorithms
The following equation calculates the Bartlett window coefficients:
The length of the window is .
Bartlett’s window is very similar to a triangular window. However, the Bartlett window always contains zeros in the first and last samples, while the triangular window at these points is non-zero.
If you set a single-point window (L = 1), the function will return the value 1.
|