Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Moving Average Frequency Response

Calculate FIR boxcar attenuation and delay at a selected tone.

Signal Processing workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
Formula|H|=|sin(πNf/fs)/(Nsin(πf/fs))|
Sources and model references

Worked example

Inputs

Average length
4 samples
Sample rate
1000 Hz
Tone frequency
125 Hz

Expected results

Magnitude response
0.6532814824 ratio
Group delay
0.0015 s

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "n": 4,
  "fs": 1000,
  "f": 125
}

Accuracy and scope

Uniform-weight FIR; DC is evaluated by its exact limiting value. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.