FA-91542 / Digital signal filters / Member archive
Polyphase decimator splits the filter into contiguous blocks · case 02
Long filters produce outputs that do not match filter-then-downsample.
Case contract
Input [h, D, samples] (integers). Output y[m] = sum_k h[k] x[mD - k] for m = 0 .. ceil(len/D) - 1 with x = 0 outside the signal, computed through the polyphase split E_p[j] = h[jD + p].
Why this case matters
Polyphase decimators avoid computing discarded outputs; commutator and phase-split slips alias the output.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random polyphase 0 | [6, 5, -10, 5] | [6, 11, -4, -3] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗