 # Rectangular Filter

Rectangular Filter:

The rectangular filter is the simplest linear filter ; it is usually used as a smoother . The output of the rectangular filter at the time moment is the arithmetic mean of the input values corresponding to the moments of time close to :  where

• is the output of the filter at time moment ;
• is the input of the filter at time moment ;
• is the length of the “window” of the filter, indicating how many adjacent values are averaged to produce the output.

The rectangular filter is completely defined by a single parameter – the window size. The greater the parameter, the greater the degree of smoothing and, hence, the greater the suppression of the higher frequencies.

The term “rectangular” is used because the above expression, if represented as the weighted sum , is characterized by mutually equal weights . If the weights are plotted against , then the plot is a rectangle (of length and height ) .

Besides the one-dimensional variant of the rectangular filter described above, the rectangular filter may be defined for 2-dimensional data, e.g. for images. Such 2D-filters are used in image processing .

Browse Other Glossary Entries

## Test Yourself

Planning on taking an introductory statistics course, but not sure if you need to start at the beginning? Review the course description for each of our introductory statistics courses and estimate which best matches your level, then take the self test for that course. If you get all or almost all the questions correct, move on and take the next test.

### Data Analytics

Considering becoming adata scientist, customer analyst or our data science certificate program?

Analytics Quiz

Statistics Quiz

### Statistics

Looking at statistics for graduate programs or to enhance your foundational knowledge?

Statistics 1 Quiz

Regression Quiz

Regression Quiz

### Biostatistics

Entering the biostatistics field? Test your skill here.

Biostatistics Quiz

Statistics 2 Quiz

### Stay Informed

Our Blog

Read up on our latest blogs

Certificates

Courses

Find the right course for you