Signal Processing Concepts and Engineering Insights. 


Explore signal processing concepts, algorithm comparisons, and practical engineering insights.
Topics include FFT vs STFT, FRF analysis, filtering techniques, and other signal processing methods used in real engineering workflows.

Systems, Filters & ModelingDifference Equations and Digital Filter System

Difference Equations and Digital Filter System

In digital signal processing, filters are not described by differential equations (like in analog systems), but by Difference Equations.

These equations define how each output sample depends on

  • Current input
  • Past inputs
  • Past outputs

Difference Equations and Digital Filter System

Mathematical Expression


f275ded3d3e04.png

Where,

  • x[n]: input signal
  • y[n]: output signal
  • br: feedforward coefficients
  • ak: feedback coefficients

2350bfdead6cd.png

1680d5cf592be.png


FIR vs IIR

FIR (Finite Impulse Response)9d16b1af69c4d.png
  • No feedback
  • Always stable
  • Possible to linear phase
  • FIR filter coefficients are the impulse response
  • e.g., M-point MA (Moving Average) → Low pass FIR filter

7ae1a3ab8e8c6.png


IIR (Infinite Impulse Response)

db482067ac4d0.png

  • Feedback
  • Efficient (requires fewer coefficients)
  • Stability must be considered
  • e.g., EMA (Exponential Moving Average) → 1st order Low pass IIR filter (α: smoothing factor)

eea966487effa.png


FRF of MA(FIR) and EMA(IIR)

Impulse responses of MA (FIR) and EMA (IIR: exponential decay)


FRF of MA(FIR) and EMA(IIR)

FRF of MA (FIR: linear phase) and EMA (IIR)


Key Insight

  • Difference Equation = Discrete System Model

    Analog system: Differential Equation

           Digital system: Difference Equation


Suggested Further Reading

##You may also be interested in these topics:

Terms and conditions     Privacy policy


PANAX SYSTEM Co., Ltd.  |  #103, 20, Yuseong-daero 1184beon-gil, Yuseong-gu, Daejeon 34109, Republic of Korea

Tel: +82-42-864-1325  |  E-mali: malmijal@panaxsyste.com  |  CEO : WonSeok Yun

Business Registration No. : 318-81-06618  |  Mail-Order License No. : 2015-Daejeon Yuseong-0060  |  Hosting Provider: IMWEB Co., Ltd. 

Copyright ⓒ 2026 PANAX SYSTEM Co., Ltd. All rights reserved.