DSP 101
M01 · L02
Introduction

Analog vs Digital

The physical world speaks in smooth, continuous signals. Computers speak in discrete numbers. Understanding the difference is the key to all of digital signal processing.

01 / 13
DSP 101
M01 · L02
Analog

What is an Analog Signal?

An analog signal is continuous in both time and amplitude. It can take any value at any instant. Think of a mercury thermometer rising smoothly, or a vinyl record’s groove tracing the exact shape of a sound wave.

Time
Continuous
Amplitude
Infinite values
02 / 13
DSP 101
M01 · L02
Digital

What is a Digital Signal?

A digital signal is discrete in both time and amplitude. Values are measured only at specific moments, and each measurement is rounded to the nearest available level. It’s a sequence of numbers — nothing more, nothing less.

Time
Sampled
Amplitude
Quantized
03 / 13
DSP 101
M01 · L02
Comparison

Key Differences

The two signal types differ in fundamental ways:

  • Resolution — analog has infinite; digital is limited by bit depth
  • Noise immunity — analog degrades; digital resists corruption
  • Storage — analog tapes wear out; digital copies are perfect
  • Processing — analog uses circuits; digital uses algorithms
04 / 13
DSP 101
M01 · L02
ADC Step 1

Sampling

To convert analog to digital, we first sample the signal — measuring its value at regular intervals. The number of samples per second is the sampling rate, measured in Hertz.

Nyquist-Shannon Theorem
f_s \geq 2 f_{\max}
05 / 13
DSP 101
M01 · L02
ADC Step 2

Quantization

After sampling, each value is rounded to the nearest discrete level. The number of available levels depends on the bit depth. More bits means finer resolution and less quantization error.

Quantization Levels
L = 2^{b}
06 / 13
DSP 101
M01 · L02
Real World

Analog vs Digital in Action

The analog-to-digital transition shaped entire industries:

Vinyl → CD — warm analog grooves replaced by 44.1 kHz, 16-bit digital audio
Film → Digital camera — chemical grain replaced by megapixel sensors
AM/FM → DAB — analog radio gave way to digital broadcasting
VHS → Streaming — magnetic tape to compressed digital video
07 / 13
DSP 101
M01 · L02
The Shift

Why Digital Won

The world moved to digital because of overwhelming practical advantages:

  • Perfect copies — no generational loss when duplicating
  • Error correction — detect and fix transmission errors
  • Compression — MP3, JPEG, H.264 shrink data massively
  • Flexibility — software can process signals in unlimited ways
08 / 13
DSP 101
M01 · L02
Trade-offs

Analog Still Matters

Analog isn’t dead. It still excels in specific domains where its properties are irreplaceable:

Where analog shines
Sensors capture the real world in analog. Audio amplifiers deliver warmth. RF antennas receive analog waves. Every digital system begins and ends with analog interfaces.
09 / 13
DSP 101
M01 · L02
The Pipeline

Analog → Digital → Analog

The complete signal chain in every modern device:

Microphone — converts sound pressure to analog voltage
ADC — samples and quantizes into digital numbers
DSP — filters, compresses, transforms digitally
DAC — converts numbers back to analog voltage
10 / 13
DSP 101
M01 · L02
See the difference

Analog vs Digital

The smooth analog wave versus its sampled digital approximation. More samples means a closer match to the original.

11 / 13
DSP 101
Knowledge Check

Check what stuck

Four questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

12 / 13
DSP 101
Summary
Recap

What you learned

Analog signals are continuous; digital signals are discrete. Sampling and quantization bridge the two worlds. Digital won for storage, processing, and transmission — but analog remains essential at the physical boundaries.

13 / 13