Skip to main content

triang

Function triang 

Source
pub fn triang(m: usize, sym: bool) -> Vec<f64>
Expand description

The triangular window is a linear taper from the center to the edges. Unlike the Bartlett window its end points are non-zero, and it handles even and odd lengths separately to remain symmetric.