<< trial_iirlp2mb FOSSEE Signal Processing Toolbox tripuls >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > triang

triang

This function returns the filter coefficients of a triangular window.

Calling Sequence

y =  triang (m)

Parameters

m:

positive integer value

y:

output variable, vector of real numbers

Description

This is an Octave function. This function returns the filter coefficients of a triangular window of length m supplied as input, to the output vector y.

Examples

triang(5)
ans  =
0.3333333
0.6666667
1.
0.6666667
0.3333333

Report an issue
<< trial_iirlp2mb FOSSEE Signal Processing Toolbox tripuls >>