|DataLab is a compact statistics package aimed at exploratory data analysis. Please visit the DataLab Web site for more information....|
|Home Features of DataLab Scripts Commands Filtercoeffs|
|See also: Filter
Script Command Filtercoeffs
The command FilterCoeffs allows to set the filter coefficients of the des LTI filters. The parameter Width defines the width of the filter window, the coefficients ai and bi have to be specified in square brackets (for each group of coefficients separately). If less than Width coefficients are declared the remaining undeclared coefficients will be replaced by zero values; surplus coefficients are ignored.
filtercoeffs (5, [0.2,0.2,0.2,0.2,0.2], )
filtercoeffs (9, [1,2,3,4,5.5,-23.2,1,2,1], [1,1,1,1,1,1,1,1,1])