Signal FIR moving-average response calculator

Calculate frequency-magnitude pairs and group delay with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use frequency-magnitude pairs and group delay to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Moving-average tap count
5
Sample rate (Hz)
100
Frequency grid intervals
16
Frequency-magnitude pairs
[[0,1],[3.125,0.961865925166],[6.25,0.852394525479],[9.375,0.685661217867],[12.5,0.482842712475],[15.625,0.269154720262],[18.75,0.0702306604714],[21.875,0.0915156841981],[25,0.2],[28.125,0.247587941811],[31.25,0.235916085421],[34.375,0.175301466154],[37.5,0.0828427124746],[40.625,0.020485528025],[43.75,0.11329089947],[46.875,0.177237700843],[50,0.2]]
Group delay (seconds)
0.02

Try another scenario

Moving-average tap count
6
Sample rate (Hz)
100
Frequency grid intervals
16
Frequency-magnitude pairs
[[0,1],[3.125,0.944682108918],[6.25,0.789275041908],[9.375,0.563116920075],[12.5,0.30795984417],[15.625,0.0689759837717],[18.75,0.114801996706],[21.875,0.218442206398],[25,0.235702260396],[28.125,0.179270885813],[31.25,0.0767082417892],[34.375,0.0368684314391],[37.5,0.127561144122],[40.625,0.170819650188],[43.75,0.1569965671],[46.875,0.0930430666337],[50,6.12323399574e-17]]
Group delay (seconds)
0.025
Calculation method

Calculation method

Frequency-magnitude pairs

Evaluate N equal 1/N FIR coefficients from DC to Nyquist.

Group delay (seconds)

(N−1)/(2 sample rate), away from response zeros.

Symbols and units
a
Moving-average tap count
b
Sample rate (Hz)
c
Frequency grid intervals

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Tap count, sample rate. Returns Frequency response and group delay. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. Moving-average tap count: minimum 1, maximum 128. Sample rate (Hz): minimum 1e-12, maximum 1000000000000.0. Frequency grid intervals: minimum 2, maximum 128.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.