← HomeSeries
Software Through the Ages
EPISODE 27 · 1970s → today

MATLAB and numerical computing

Engineering is full of matrices and differential equations: stiffness matrices, vibration modes, control loops, filters. In the 1970s solving them meant writing Fortran and waiting for the mainframe. A professor's teaching tool — an interactive "matrix laboratory" — became MATLAB, the common language of engineering computation, and spawned a family of rivals and free alternatives.

1970s
LINPACK and EISPACK: tested Fortran libraries for linear algebra
~1979
Cleve Moler writes the first MATLAB for his students
1984
MathWorks founded; commercial MATLAB for the IBM PC
1990
Simulink (first called SIMULAB): block-diagram simulation
1994
Scilab (INRIA) and GNU Octave: free alternatives
R2026a
Current release, with AI copilots

01The requirement: mathematics without writing Fortran

By the 1970s numerical analysts had built reliable Fortran libraries: EISPACK for eigenvalues and LINPACK for linear equations, funded by the US National Science Foundation. But using them meant writing a program, compiling, linking, running a batch job and reading a printout. Cleve Moler, a professor at the University of New Mexico who had worked on both libraries, wanted his students to try matrix ideas interactively. Around 1979 he wrote a small Fortran program, MATLAB ("matrix laboratory"), in which you type A = [1 2; 3 4] and eig(A) and see the answer at once. Copies spread among universities for free.

RequirementWhyWhat MATLAB-style tools offered
Try ideas quicklyThe compile–run cycle killed explorationAn interactive command window
Trustworthy numericsHome-made solvers give wrong answers on hard problemsProven algorithms (LINPACK, later LAPACK) inside every command
Plot resultsEngineers think in graphsOne-line plotting
Domain-specific functionsSignal processing, control, statistics, optimisationToolboxes written by experts
Simulate dynamic systemsControllers and plants are differential equationsSimulink block diagrams and code generation

02From classroom tool to industry standard

1983–84 — MathWorks. Engineer Jack Little saw MATLAB's value for control engineering. With Moler and Steve Bangert he rewrote it in C and founded The MathWorks in California in 1984 (it later moved to Natick, Massachusetts). PC-MATLAB ran on the IBM PC.
1985–1990 — Toolboxes. The Control System and Signal Processing Toolboxes made MATLAB the tool of control and DSP engineers.
1990 — Simulink. First released as SIMULAB, it let engineers draw systems as connected blocks — integrators, gains, transfer functions — and simulate them.
2000 — LAPACK. MATLAB 6 switched to the modern LAPACK library and an integrated desktop with editor and workspace.
2006 → — Twice-yearly releases. Named R2006a, R2006b and so on: "a" in spring, "b" in autumn. Embedded code generation (Embedded Coder) made Simulink the basis of "model-based design" in cars and aircraft.
2016 → — Live scripts and the web. Live Editor notebooks, MATLAB Online, and in R2026a (released spring 2026) AI copilots for MATLAB, Simulink and Polyspace.

03Try it: what x = A\b does

MATLAB's backslash solves linear equations — for example the forces in a frame, or nodal displacements in finite element analysis (Episode 29). Inside, it uses Gaussian elimination with partial pivoting (LU decomposition) from LINPACK/LAPACK. Edit the 3×3 system and step through.

A
b

  

04Contemporaries and rivals

ProgramYearModelStrength
Mathcad1986Paid (MathSoft → PTC)Equations written as on paper, with units checked automatically — loved for design calculations; now Mathcad Prime with a free Express edition
Maple1982 / 1988Paid (Waterloo Maple)Symbolic algebra: exact integrals and formulas
Mathematica1988Paid (Wolfram Research)Symbolic and numeric computing with notebooks
MATRIXx, Xmath1980sPaid (Integrated Systems)Control-system rival to MATLAB/Simulink; later bought by National Instruments
IDL1977PaidArray language for astronomy and remote sensing
Scilab + Xcos1994Free, open source (INRIA, France)MATLAB-like language with a Simulink-like block editor
GNU Octave1993 (1.0 in 1994)Free, open source (GPL)Highly compatible with MATLAB scripts
Python: NumPy, SciPy, Matplotlib2006 →Free, open sourceGeneral-purpose language with scientific libraries; now the main alternative
Julia2012Free, open source (MIT)Speed of C with MATLAB-like syntax

05Try it: integrating a dynamic system

A Simulink diagram of a spring–mass–damper is two integrators in a loop. The solver steps time forward. Simple methods (Euler) drift or blow up with large steps; MATLAB's ode45 uses an adaptive Runge–Kutta method. Change the step size and compare with the exact answer.

06Version explorer

Blue chips: MATLAB and Simulink. Amber chips: rivals and open alternatives.

07Today: licences and choices

  • MATLAB licences are per user or network (concurrent); each toolbox costs extra. Campus-wide licences are common in universities, and a Home licence exists for personal use.
  • Free but closed: MATLAB Online basic access, Mathcad Express, Wolfram Engine for developers.
  • Open source: Octave runs most MATLAB scripts unchanged; Scilab/Xcos covers basic Simulink-style work; Python covers almost everything except Simulink's code generation and certified toolchains.
  • Interoperability: MATLAB can call Python and vice versa; data move via .mat (HDF5-based since v7.3), CSV or HDF5.

08Getting the tools safely

ProgramOfficial sitewinget command
GNU Octaveoctave.orgwinget install GNU.Octave
Scilabscilab.orgwinget install Scilab.Scilab
Python + Spyderpython.org, spyder-ide.orgwinget install Python.Python.3.13; pip install numpy scipy matplotlib
MATLABmathworks.comThrough your organisation's licence

"Free MATLAB" downloads on other sites are cracked copies and a common route for malware. Confirm winget IDs with winget search.

See also: Episode 19: Engineering and science — Python, Octave and Scilab on Windows in more depth. A–Z application index.

09Lessons for engineers

  1. Use proven numerical libraries. Never write your own matrix inverse for real work.
  2. Watch the condition number. A nearly singular system gives answers that look precise but are not.
  3. Check the solver step. A simulation that "works" may be the numerical method, not the physics.
  4. Keep scripts, not screenshots. A script is the record of how a result was obtained.

Sources & further reading

  1. C. Moler and J. Little, "A history of MATLAB", Proc. ACM on Programming Languages 4 (HOPL), 2020.
  2. MathWorks — R2026a release highlights
  3. Wikipedia — MATLAB · Simulink · LINPACK
  4. GNU Octave · Scilab · NumPy · Julia
  5. Wikipedia — PTC Mathcad · Wolfram Mathematica