Return the Bartlett window of size M, a triangular taper.
w(n) = 1 - |2n - (M-1)| / (M-1) for 0 <= n <= M-1.
w(n) = 1 - |2n - (M-1)| / (M-1)
0 <= n <= M-1
Return the Bartlett window of size M, a triangular taper.
w(n) = 1 - |2n - (M-1)| / (M-1)for0 <= n <= M-1.