Prerequisites & Notation
Before You Begin
This chapter assumes familiarity with NumPy arrays (Chapter 5) and basic Python scripting. We also use complex-valued arrays and FFTs (Chapter 7) in the phase-plot section. No prior Matplotlib experience is required — we start from scratch.
- NumPy arrays, broadcasting, and linspace/meshgrid (Chapter 5)(Review ch05)
Self-check: Can you create a 2D grid with
np.meshgridand evaluate a function on it? - Complex numbers and magnitude/phase (Chapter 5)(Review ch05)
Self-check: Do you know that
np.abs(z)gives the magnitude andnp.angle(z)gives the phase? - Basic Python: lists, dicts, f-strings(Review ch01)
Self-check: Can you write a for-loop that builds a list of formatted strings?
Notation for This Chapter
Symbols and conventions used throughout this chapter.
| Symbol | Meaning | Introduced |
|---|---|---|
| Matplotlib Figure object — the top-level container | s01 | |
| Matplotlib Axes object — the plotting surface | s01 | |
| Bit energy to noise spectral density ratio (dB), used in BER plots | s02 | |
| Bit error rate (probability) | s02 | |
| Dots per inch — controls figure resolution | s05 | |
| Complex-valued frequency response | s06 | |
| , | Magnitude and phase of the frequency response | s06 |