Field Guide · language

Also known as: MATLAB

MATLAB is a commercial, matrix-oriented language and environment from MathWorks built for engineering, signal processing, and control systems.1 It is superb for DSP prototyping but proprietary and licensed.

signal MATLAB:matrices, FFT
MATLAB treats data as matrices and excels at signal-processing analysis like the FFT and its spectra.

Overview

MATLAB (“matrix laboratory”) was designed around the matrix as its native data type, which makes linear-algebra and signal code read almost like the mathematics it implements.2 It pairs the language with a full interactive environment, deep numerical libraries, toolboxes for control, communications and DSP, and Simulink for model-based design. That makes it a favourite for DSP prototyping and the kind of fast Fourier transform work that underlies software-defined radio.

Key characteristics

MATLAB is dynamically typed (see static vs dynamic typing) and interpreted with a JIT in its runtime.2 Its great drawback is that it is proprietary and licensed: it costs money, toolboxes are sold separately, and code is tied to a vendor’s runtime rather than an open ecosystem. It is also a specialist rather than a general-purpose language. For overlapping work, open alternatives include Python with NumPy/SciPy, the faster Julia, and R for statistics — each trading MATLAB’s polished, licensed tooling for openness.

Sources

  1. MATLAB — Wikipedia, for history, origins, and design background. 

  2. MATLAB (MathWorks) — official product site, documentation, and the matrix environment and toolboxes.  2

See also