FUNCTION REFERENCE

triang

Triangular window.

Triangular window.

Syntax

triang(n)

Returns an n-by-1 column vector with no zero end points.

Example

triang(5)'   % [0.3333 0.6667 1 0.6667 0.3333]

Differences from MATLAB: No sampling option; double output only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.