Numerical analysis guide

MATLAB Functions Reference

Search MATLAB functions for arrays, plotting, linear algebra, numerical methods, signals, control systems, and engineering scripts.

Function lookup

Find MATLAB functions by engineering task

Filter by function name, toolbox area, matrix operation, plotting task, or calculation workflow.

MATLAB

Best for

Numerical scripts

Use this reference to recall syntax for arrays, models, plots, and analysis pipelines.

Watch out

Toolbox availability

Some functions require specialized toolboxes such as Signal Processing, Control System, or Optimization.

Searchable reference

MATLAB functions and engineering uses

CategoryCommand / FunctionPurposeExample / Use
ArrayslinspaceCreate evenly spaced values between limitslinspace(0,10,101)
ArrayszerosCreate an array filled with zeroszeros(3,4)
MathtrapzNumerically integrate sampled datatrapz(t,y)
Linear algebraeigReturn eigenvalues and eigenvectors[V,D] = eig(A)
Linear algebramldivideSolve a linear system efficientlyx = A\b
PlottingplotCreate a 2D line plotplot(t,y)
DatareadtableImport tabular data from a fileT = readtable("data.csv")
Numerical methodsode45Solve non-stiff ordinary differential equations[t,y] = ode45(@model,tspan,y0)
OptimizationfminsearchMinimize an unconstrained functionfminsearch(@cost,x0)
SignalsfftCompute the fast Fourier transformY = fft(signal)
ControltfCreate a transfer function modelG = tf(num,den)
FilessaveSave variables to a MAT filesave("run.mat","results")

How to use

How to use MATLAB functions in analysis

Search by task

task -> command -> example

Start with the task you need, then check the command, function, or shortcut syntax before using it in a real workflow.

Check context

version + module + units

Software behavior can change by version, workspace, add-in, toolbox, shell, or engineering unit system.

Verify output

example -> small test -> real work

Use the examples as starting patterns and confirm results with a small test file, sample model, or known calculation.

Document assumptions

inputs + method + result

Record the inputs, method, version, and assumptions so engineering results can be reviewed later.

Workflow notes

MATLAB workflow notes

Workspace

The active MATLAB variable environment used by scripts, live scripts, and command-window calculations.

Vectorization

Writing operations on whole arrays instead of loops to make code shorter and usually faster.

Toolbox

An add-on package that provides domain-specific functions for controls, signals, optimization, statistics, and more.

Live script

A MATLAB document format that combines code, outputs, plots, and explanatory text.

FAQ

MATLAB Functions Reference questions

How should I use this MATLAB Functions Reference?

Search by command, function, shortcut, task, or example, then adapt the pattern to your drawing, model, code, spreadsheet, or simulation workflow.

Are the examples enough for production work?

Use them as quick reference patterns. Validate syntax, units, versions, and outputs before using the result in production engineering work.

Why use a searchable table?

Search is faster than scanning long documentation when you know the task but need the exact command, function, or syntax reminder.

Related

Software guides