<< bohmanwin FOSSEE Signal Processing Toolbox buffer >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > boxcar

boxcar

This function returns the filter coefficients of a rectangular window.

Calling Sequence

y =  boxcar (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 rectangular window of length m supplied as input, to the output vector y.

Examples

boxcar(6)
ans  =
1.
1.
1.
1.
1.
1.

Report an issue
<< bohmanwin FOSSEE Signal Processing Toolbox buffer >>