A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Decimation, Anti-Aliasing, and Downsampling

Graduate Depth 152 in the knowledge graph I know this Set as goal
7topics build on this
1,030prerequisites beneath it
See this on the map →
Anti-Aliasing Filters and Pre-Sampling DesignAliasing, Anti-Aliasing Filters, and Signal ReconstructionMultirate Signal Processing and Filter Banks
decimation downsampling anti-aliasing multirate

Core Idea

Decimation by factor M involves lowpass filtering to avoid aliasing, then downsampling by keeping every Mth sample. The anti-aliasing filter must eliminate frequencies above the new Nyquist rate (fs/M). Unfiltered downsampling causes aliasing from frequency components between fs/M and fs/2 to fold into the passband. Proper decimation preserves information in the signal band of interest while reducing data rate.

How It's Best Learned

Demonstrate aliasing from direct downsampling by factor 3 on a signal containing energy above the new Nyquist rate. Design anti-aliasing filter, apply, then downsample. Verify aliasing is eliminated.

Common Misconceptions

Explainer

From your work on anti-aliasing filters, you know that before sampling a continuous-time signal at rate f_s, you must filter out any content above f_s/2 to prevent aliasing — the "folding back" of high-frequency content into the baseband that corrupts the sampled signal. Decimation applies the same reasoning in the discrete-time domain: if you have a digital signal already sampled at f_s and want to reduce the data rate by a factor of M, keeping every Mth sample is equivalent to re-sampling at f_s/M. The new Nyquist frequency is f_s/(2M). If the original signal has any energy between f_s/(2M) and f_s/2, that energy aliases into the 0 to f_s/(2M) band in the decimated output.

To see why unfiltered downsampling is destructive, consider a concrete example: a signal sampled at 48 kHz with a tone at 10 kHz, downsampled by M = 4 to 12 kHz. The new Nyquist is 6 kHz. The 10 kHz tone must be represented in the decimated signal, but 10 kHz > 6 kHz, so it folds: 10 kHz aliases to 12 − 10 = 2 kHz. The output now contains a 2 kHz tone that was never in the original signal. Decimation without filtering does not just lose high-frequency content — it actively corrupts the low-frequency content you wanted to keep.

The solution is to apply a discrete-time anti-aliasing lowpass filter before the downsampler. The filter must attenuate everything above the new Nyquist f_s/(2M), passing only the band of interest 0 to f_s/(2M). The system is: input → [LPF with cutoff f_s/(2M)] → [keep every Mth sample] → output. This is a complete decimator. The filter removes the aliases before they can be created by the downsampling step. The key design specification is that the filter's stopband must begin at or below f_s/(2M) with sufficient attenuation that the folded components are negligible relative to your signal floor.

Designing the anti-aliasing filter involves a genuine trade-off. Sharper rolloff (steeper transition from passband to stopband) requires a higher-order FIR or IIR filter, which means more computation per output sample. But in a decimator you only need one output sample for every M input samples, so the filtered output is computed at full rate but only retained at the lower rate. This means you can afford to run a more expensive filter than in a single-rate system, and the computation cost of decimation is often dominated by the filter rather than the actual downsampling operation. A common optimization is the polyphase decomposition, which restructures the filter so computations are shared efficiently across the M phases — but that is the next topic.

Decimation by large factors is typically done in multiple stages rather than one. Decimating by M = 256 in one step requires a filter with an extremely sharp cutoff (passband extending to only 1/256 of f_s/2 before attenuating), which demands a very high filter order and proportionally high computation. Instead, cascading two stages — decimate by 16, then by 16 — uses two moderate-order filters and is often far more efficient. Each stage's filter specification is more relaxed, its order is lower, and the second stage operates at 1/16th the original rate, so its computation cost is reduced proportionally. Multi-stage decimation is a standard pattern in audio codec design, software-defined radio, and any system that needs to bridge a large gap between input and output sample rates.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesFrequency-Dependent Permittivity and DispersionElectromagnetic Waves in Anisotropic MediaBirefringence and DichroismWave Plates: Quarter-Wave and Half-Wave PlatesCircular and Elliptical Polarization ProductionPolarization States: Linear, Circular, and EllipticalLinear Superposition of WavesSuperposition Principle in ElectrostaticsElectric Field Lines and VisualizationElectric Potential and Potential EnergyElectric Potential and VoltageIdeal Voltage and Current SourcesSeries, Parallel, and Combined Resistor NetworksVoltage Divider Principle and ApplicationsKirchhoff's Voltage and Current LawsNodal Analysis MethodLinearity, Superposition, and ScalingAC Steady-State Circuit AnalysisAC Circuit Analysis Using PhasorsAC Power AnalysisResonance in RLC CircuitsFrequency Response and Bode PlotsNotch Filters and Resonator DesignAnti-Aliasing Filters and Pre-Sampling DesignDecimation, Anti-Aliasing, and Downsampling

Longest path: 153 steps · 1030 total prerequisite topics

Prerequisites (1)

Leads To (2)