Best for
Numerical scripts
Use this reference to recall syntax for arrays, models, plots, and analysis pipelines.
Numerical analysis guide
Search MATLAB functions for arrays, plotting, linear algebra, numerical methods, signals, control systems, and engineering scripts.
Function lookup
Filter by function name, toolbox area, matrix operation, plotting task, or calculation workflow.
Best for
Use this reference to recall syntax for arrays, models, plots, and analysis pipelines.
Watch out
Some functions require specialized toolboxes such as Signal Processing, Control System, or Optimization.
Searchable reference
| Category | Command / Function | Purpose | Example / Use |
|---|---|---|---|
| Arrays | linspace | Create evenly spaced values between limits | linspace(0,10,101) |
| Arrays | zeros | Create an array filled with zeros | zeros(3,4) |
| Math | trapz | Numerically integrate sampled data | trapz(t,y) |
| Linear algebra | eig | Return eigenvalues and eigenvectors | [V,D] = eig(A) |
| Linear algebra | mldivide | Solve a linear system efficiently | x = A\b |
| Plotting | plot | Create a 2D line plot | plot(t,y) |
| Data | readtable | Import tabular data from a file | T = readtable("data.csv") |
| Numerical methods | ode45 | Solve non-stiff ordinary differential equations | [t,y] = ode45(@model,tspan,y0) |
| Optimization | fminsearch | Minimize an unconstrained function | fminsearch(@cost,x0) |
| Signals | fft | Compute the fast Fourier transform | Y = fft(signal) |
| Control | tf | Create a transfer function model | G = tf(num,den) |
| Files | save | Save variables to a MAT file | save("run.mat","results") |
How to use
task -> command -> example
Start with the task you need, then check the command, function, or shortcut syntax before using it in a real workflow.
version + module + units
Software behavior can change by version, workspace, add-in, toolbox, shell, or engineering unit system.
example -> small test -> real work
Use the examples as starting patterns and confirm results with a small test file, sample model, or known calculation.
inputs + method + result
Record the inputs, method, version, and assumptions so engineering results can be reviewed later.
Workflow notes
The active MATLAB variable environment used by scripts, live scripts, and command-window calculations.
Writing operations on whole arrays instead of loops to make code shorter and usually faster.
An add-on package that provides domain-specific functions for controls, signals, optimization, statistics, and more.
A MATLAB document format that combines code, outputs, plots, and explanatory text.
FAQ
Search by command, function, shortcut, task, or example, then adapt the pattern to your drawing, model, code, spreadsheet, or simulation workflow.
Use them as quick reference patterns. Validate syntax, units, versions, and outputs before using the result in production engineering work.
Search is faster than scanning long documentation when you know the task but need the exact command, function, or syntax reminder.
Related
AutoCAD command reference for drafting and modeling.
C++ function reference for technical programming.
Excel functions and shortcuts for engineering work.
LaTeX command reference for technical documents.
Linux command reference for engineering workflows.
OpenFOAM command and function reference.
Python references for engineering calculations and workflows.
SolidWorks keyboard shortcuts and workflow reference.
Tell us what would make EngLab more useful for your engineering work.