How this list is generated: Every function here is a live registration in the current Forge engine. This page is regenerated from introspection of the installed package - no curated list, no marketing number.
If a function you expect isn't here, email info@thecommons.cc and we'll investigate. Last introspection: April 2026 - Forge engine 0.3.12.
Audio Processing 7 functions
| Function | Description |
|---|---|
audioplayer |
Create an audioplayer object (stub). |
audiorecorder |
Create an audiorecorder object (stub). |
lin2mu |
Convert linear audio signal to mu-law encoding. |
mu2lin |
Convert mu-law encoded signal back to linear. |
record |
Record audio from microphone (stub). |
sound |
Play audio signal through speakers (stub). |
soundsc |
Play audio signal scaled to full range (stub). |
Communications 19 functions
| Function | Description |
|---|---|
awgn |
Add white Gaussian noise to a signal. |
berawgn |
Theoretical BER for AWGN channel. |
biterr |
Bit error count and rate. |
convenc |
Convolutional encoder. |
eyediagram |
Prepare data for eye diagram (returns 2-D array of overlapped traces). |
fskdemod |
FSK demodulation (correlation-based). |
fskmod |
FSK modulation. |
huffmandeco |
Huffman decode binary data using a dictionary. |
huffmandict |
Build a Huffman dictionary. |
huffmanenco |
Huffman encode data using a dictionary. |
pskdemod |
PSK demodulation (hard decision). |
pskmod |
PSK modulation. |
qamdemod |
QAM demodulation (hard decision, minimum distance). |
qammod |
QAM modulation. |
rayleighchan |
Simple flat Rayleigh fading channel. |
ricianchan |
Simple flat Rician fading channel. |
scatterplot |
Extract I/Q data for scatter plot. |
symerr |
Symbol error count and rate. |
vitdec |
Viterbi decoder (hard decision). |
Control Systems 50 functions
| Function | Description |
|---|---|
acker |
Ackermann's formula for pole placement (SISO systems only). |
append |
Diagonal append of two systems. |
bandwidth |
Compute bandwidth (-3 dB frequency). |
blkdiag_sys |
Block diagonal combination of multiple systems. |
bode |
Bode plot data (magnitude and phase). |
connect |
General interconnection of systems. |
ctrb |
Compute the controllability matrix. |
dcgain |
Compute DC gain (steady-state gain) of a system. |
dlqr |
Linear Quadratic Regulator (discrete-time). |
dlyap |
Solve discrete Lyapunov equation A*X*A' - X + Q = 0. |
evalfr |
Evaluate system frequency response at a complex frequency. |
feedback |
Feedback connection. |
frd |
Create a frequency response data model. |
freqresp |
Compute frequency response. |
gram |
Compute Gramian matrix. |
impulse |
Impulse response of a system. |
initial |
Initial condition response (zero input). |
isstable |
Check if a system is stable. |
kalman |
Compute Kalman filter gain for continuous-time system. |
lqr |
Linear Quadratic Regulator (continuous-time). |
lsim |
Simulate system response to arbitrary input. |
lyap |
Solve continuous Lyapunov equation A*X + X*A' + Q = 0. |
margin |
Compute gain and phase margins. |
minreal |
Minimal realization via pole-zero cancellation. |
nichols |
Nichols chart data. |
nyquist |
Nyquist plot data. |
obsv |
Compute the observability matrix. |
parallel |
Parallel connection: sys1 + sys2. |
pid |
Create a PID controller as a transfer function. |
pidtune |
Auto-tune a PID controller using Ziegler-Nichols-like heuristics. |
place |
Pole placement for state feedback. |
pole |
Compute system poles. |
pzmap |
Compute pole-zero map data. |
rlocus |
Root locus data. |
series |
Cascade (series) connection: sys2 * sys1. |
ss |
Create a state-space representation. |
ss2tf |
Convert state-space to transfer function representation. |
ss2zpk |
Convert state-space to zero-pole-gain representation. |
ssdata |
Extract state-space data from a system. |
step |
Step response of a system. |
stepinfo |
Compute step response characteristics. |
tf |
Create a transfer function representation. |
tf2ss |
Convert transfer function to state-space representation. |
tf2zpk |
Convert transfer function to zero-pole-gain representation. |
tfdata |
Extract transfer function data from a system. |
zero |
Compute system zeros. |
zpk |
Create a zero-pole-gain representation. |
zpk2ss |
Convert zero-pole-gain to state-space representation. |
zpk2tf |
Convert zero-pole-gain to transfer function representation. |
zpkdata |
Extract zero-pole-gain data from a system. |
Database 8 functions
| Function | Description |
|---|---|
forge_close_db |
Close a database connection. |
forge_database |
Connect to a database. |
forge_exec |
Execute a SQL statement (INSERT, UPDATE, DELETE, CREATE, etc.). |
forge_fetch |
Fetch query results as a struct (dict of column arrays). |
forge_insert |
Insert rows into a table. |
forge_sqlread |
Read an entire table (or subset) into a struct. |
forge_sqlwrite |
Write data to a table (bulk insert). |
forge_update |
Update rows in a table. |
Elementary Functions 27 functions
| Function | Description |
|---|---|
acosd |
Inverse cosine, result in degrees. |
acot |
Inverse cotangent. |
acotd |
Inverse cotangent, result in degrees. |
acoth |
Inverse hyperbolic cotangent. |
acsc |
Inverse cosecant. |
acscd |
Inverse cosecant, result in degrees. |
acsch |
Inverse hyperbolic cosecant. |
asec |
Inverse secant. |
asecd |
Inverse secant, result in degrees. |
asech |
Inverse hyperbolic secant. |
asind |
Inverse sine, result in degrees. |
atan2d |
Two-argument inverse tangent, result in degrees. |
atand |
Inverse tangent, result in degrees. |
cosd |
Cosine of argument in degrees. |
cospi |
cos(pi * x), exact at half-integer multiples. |
cot |
Cotangent. |
cotd |
Cotangent of argument in degrees. |
coth |
Hyperbolic cotangent. |
csc |
Cosecant. |
cscd |
Cosecant of argument in degrees. |
csch |
Hyperbolic cosecant. |
sec |
Secant. |
secd |
Secant of argument in degrees. |
sech |
Hyperbolic secant. |
sind |
Sine of argument in degrees. |
sinpi |
sin(pi * x), exact at integer multiples. |
tand |
Tangent of argument in degrees. |
File I/O 33 functions
| Function | Description |
|---|---|
beep |
Produce a beep sound. |
bunzip2 |
Decompress a bzip2 file. |
computer |
Return computer type string. |
copyfile |
Copy a file. |
csvread |
Read a CSV file into a numeric array. |
csvwrite |
Write a numeric array to a CSV file. |
delete |
Delete a file. |
dir |
List directory contents. |
dlmwrite |
Write array to a delimited text file. |
fileattrib |
Get file attributes. |
fileparts |
Split a file path into directory, name, and extension. |
fileread |
Read entire contents of a text file as a character string. |
fullfile |
Build full file path from parts. |
gunzip |
Decompress a gzip file. |
importdata |
Import data from a file, auto-detecting format. |
is_valid_file_id |
Test whether fid is a valid file identifier. |
isdeployed |
True if running in deployed (compiled) mode. |
isfile |
Test whether a path refers to an existing regular file. |
isfolder |
Test whether a path refers to an existing directory. |
ismac |
True if running on macOS. |
ispc |
True if running on a Windows system. |
isunix |
True if running on a Unix-like system (Linux, macOS, etc.). |
license |
Return license information. |
ls |
List directory contents (simple name listing). |
memory |
Return memory information as a ForgeStruct. |
mkdir |
Create a directory (and parents if needed). |
movefile |
Move or rename a file. |
tar |
Create a tar archive. |
untar |
Extract a tar archive. |
unzip |
Extract a zip archive. |
ver |
Return version information as a ForgeStruct. |
version |
Return version string. |
zip |
Create a zip archive. |
Financial 25 functions
| Function | Description |
|---|---|
accrfrac |
Accrued interest fraction = settle_days / coupon_days. |
blsdelta |
Black-Scholes delta (call, put). |
blsgamma |
Black-Scholes gamma (same for call and put). |
blsimpv |
Implied volatility via bisection. |
blsprice |
Black-Scholes European call and put price. |
blsrho |
Black-Scholes rho (call, put). |
blstheta |
Black-Scholes theta (call, put). |
blsvega |
Black-Scholes vega. |
bndprice |
Clean price of a bond. |
bndyield |
Yield to maturity given bond price (Newton-Raphson). |
cfamounts |
Cash-flow amounts for a bond (array of coupon + principal at end). |
cont2disc |
Continuous to discrete compounding rate. |
disc2cont |
Discrete to continuous compounding rate. |
frontcon |
Efficient frontier via quadratic optimisation (analytic two-fund). |
fvfix |
Future value of fixed periodic payments. |
irr |
Internal rate of return (Newton-Raphson). |
nper |
Number of periods. |
npv |
Net present value of a cash-flow series. |
pmt |
Payment per period. |
portopt |
Basic mean-variance portfolio optimisation. |
portsim |
Simulate portfolio paths via geometric Brownian motion. |
pvfix |
Present value of fixed periodic payments. |
rate |
Solve for interest rate per period (Newton-Raphson). |
ret2tick |
Convert return series to price series (starting at 1). |
tick2ret |
Convert price series to return series. |
Fuzzy Logic 20 functions
| Function | Description |
|---|---|
addmf |
Add a membership function to a variable. |
addrule |
Add rules to a FIS. |
addvar |
Add an input or output variable to a FIS. |
defuzz |
Defuzzify a fuzzy output using the specified method. |
evalfis |
Evaluate a fuzzy inference system. |
gaussmf |
Gaussian membership function. |
gbellmf |
Generalized bell membership function. |
genfis |
Generate a FIS from data using grid partitioning. |
mamfis |
Create a Mamdani fuzzy inference system. |
pimf |
Pi-shaped membership function (product of S and Z). |
plotmf |
Compute membership function curves for plotting. |
readfis |
Parse a FIS from string (.fis format). |
showfis |
Return a text summary of a FIS. |
sigmf |
Sigmoidal membership function. |
smf |
S-shaped membership function. |
sugfis |
Create a Sugeno fuzzy inference system. |
trapmf |
Trapezoidal membership function. |
trimf |
Triangular membership function. |
writefis |
Serialize a FIS to a string (Octave.fis format compatible). |
zmf |
Z-shaped membership function. |
General Utilities 32 functions
| Function | Description |
|---|---|
accumarray |
no description |
bincoeff |
bincoeff(n, k) — binomial coefficient C(n,k). |
cart2pol |
no description |
cart2sph |
no description |
circshift |
no description |
cplxpair |
cplxpair(x) — sort complex numbers into conjugate pairs. |
cumtrapz |
no description |
deal |
no description |
deg2rad |
deg2rad(d) — convert degrees to radians. |
flip |
flip(A, dim) — flip array along specified dimension. |
gradient |
no description |
idivide |
idivide(a, b, op) — integer division with specified rounding. |
int2str |
no description |
integral |
no description |
interp1 |
no description |
isequal |
isequal(a, b) — true if values are equal. |
isequaln |
isequaln(a, b) — true if values are equal (NaN == NaN). |
logspace |
no description |
nextpow2 |
no description |
pol2cart |
no description |
polyarea |
no description |
postpad |
no description |
prepad |
no description |
rad2deg |
rad2deg(r) — convert radians to degrees. |
rat |
rat(x) — rational approximation. |
repelem |
repelem(A, r, c) — replicate array elements. |
rescale |
no description |
shiftdim |
shiftdim(A, n) — shift array dimensions. |
sortrows |
no description |
sph2cart |
no description |
trapz |
no description |
xor |
xor(a, b) — exclusive OR. |
Geometry 14 functions
| Function | Description |
|---|---|
convhull |
Compute convex hull of 2-D or 3-D points. |
delaunay |
Delaunay triangulation of 2-D points. |
delaunayn |
N-dimensional Delaunay triangulation. |
dsearchn |
Nearest-point search using KD-tree. |
griddata |
Interpolate scattered data onto grid. |
griddatan |
N-dimensional scattered data interpolation. |
inpolygon |
Test if points are inside polygon. |
rectint |
Compute area of intersection of rectangles. |
rotx |
3x3 rotation matrix about the X-axis. |
roty |
3x3 rotation matrix about the Y-axis. |
rotz |
3x3 rotation matrix about the Z-axis. |
tsearchn |
Find enclosing simplex for query points. |
voronoi |
Compute Voronoi diagram for 2-D points. |
voronoin |
N-dimensional Voronoi diagram. |
Image Processing 52 functions
| Function | Description |
|---|---|
autumn |
Autumn colormap. MAP = autumn(N) returns an Nx3 array. |
bone |
Bone colormap. MAP = bone(N) returns an Nx3 array. |
brighten |
Brighten or darken a colormap. |
cmpermute |
Reorder a colormap. |
cmunique |
Remove duplicate entries from a colormap. |
colormap |
Set or get the current colormap. |
contrast |
Adjust image contrast. |
cool |
Cool colormap. MAP = cool(N) returns an Nx3 array. |
copper |
Copper colormap. MAP = copper(N) returns an Nx3 array. |
cubehelix |
Cubehelix colormap. MAP = cubehelix(N) returns an Nx3 array. |
dither |
Apply Floyd-Steinberg dithering to convert grayscale to binary. |
flag |
Flag colormap. MAP = flag(N) returns an Nx3 array. |
frame2im |
Convert movie frame to image. |
getframe |
Capture axes or figure as movie frame (stub). |
gray |
Gray (linear grayscale) colormap. MAP = gray(N) returns an Nx3 array. |
gray2ind |
Convert grayscale image to indexed image. |
hot |
Hot colormap. MAP = hot(N) returns an Nx3 array. |
hsv |
HSV colormap. MAP = hsv(N) returns an Nx3 array. |
hsv2rgb |
Convert HSV color values to RGB. |
im2bw |
Convert grayscale image to binary. |
im2double |
Convert image to double precision (float64) in [0,1]. |
im2frame |
Convert image to movie frame struct. |
image |
Display image object (stub). |
imagesc |
Display image with scaled colors. |
imfinfo |
Return image file information as a dict. |
imformats |
Return or register image file formats. |
imgaussfilt |
2-D Gaussian filtering of images. |
imread |
Read image from file. |
imresize |
Resize an image matrix. |
imshow |
Display image (stub — prints dimensions). |
imwrite |
Write image to file. |
ind2gray |
Convert indexed image to grayscale. |
ind2rgb |
Convert indexed image to RGB using colormap. |
iscolormap |
Check if input is a valid colormap. |
jet |
Jet colormap. MAP = jet(N) returns an Nx3 array. |
lines |
Lines colormap (default axes color order, cycled). |
movie |
Play movie frames (stub). |
ocean |
Ocean colormap. MAP = ocean(N) returns an Nx3 array. |
pink |
Pink colormap. MAP = pink(N) returns an Nx3 array. |
prism |
Prism colormap. MAP = prism(N) returns an Nx3 array. |
rainbow |
Rainbow colormap. MAP = rainbow(N) returns an Nx3 array. |
rgb2gray |
Convert RGB image to grayscale. |
rgb2hsv |
Convert RGB color values to HSV. |
rgb2ind |
Convert RGB image to indexed image. |
rgbplot |
Plot the RGB components of a colormap (stub). |
spinmap |
Spin the colormap (stub — no GUI). |
spring |
Spring colormap. MAP = spring(N) returns an Nx3 array. |
summer |
Summer colormap. MAP = summer(N) returns an Nx3 array. |
turbo |
Turbo colormap. MAP = turbo(N) returns an Nx3 array. |
viridis |
Viridis colormap. MAP = viridis(N) returns an Nx3 array. |
white |
White colormap (all ones). MAP = white(N) returns an Nx3 array. |
winter |
Winter colormap. MAP = winter(N) returns an Nx3 array. |
Instrument Control 14 functions
| Function | Description |
|---|---|
fclose_inst |
Close a simulated instrument connection. |
fopen_inst |
Open a simulated instrument connection. |
fprintf_inst |
Send a command string to a simulated instrument. |
fread_inst |
Binary read from a simulated instrument. |
fscanf_inst |
Read a response string from a simulated instrument. |
fwrite_inst |
Binary write to a simulated instrument. |
get_instrument_value |
Read an internal setting from a simulated instrument. |
instrfind |
Find available simulated instrument resources. |
instrhwinfo |
Return information about available simulated instruments. |
query |
Send a query command and read the response (combined write+read). |
serial |
Create a simulated serial instrument connection. |
set_instrument_value |
Directly set an internal setting on a simulated instrument. |
tcpip |
Create a simulated TCP/IP instrument connection. |
visa |
Create a simulated VISA instrument connection. |
Linear Algebra 47 functions
| Function | Description |
|---|---|
bandwidth |
no description |
blkdiag |
Block diagonal matrix from input matrices. |
chol |
no description |
cond |
cond(A) — matrix condition number. |
condeig |
no description |
condest |
no description |
cross |
cross(a, b) — vector cross product. |
det |
Matrix determinant. Usage: det(A) |
dot |
Dot product. For vectors: scalar. For matrices: column-wise dot products. |
eig |
eig(A) or eig(A,B) returns eigenvalues as a column vector. |
eig_full |
[V,D] = eig(A) or [V,D] = eig(A,B) returns eigenvectors and diagonal eigenvalue matrix. |
expm |
no description |
fft |
no description |
fft2 |
no description |
funm |
no description |
ifft |
no description |
ifft2 |
no description |
inv |
Matrix inverse. Usage: inv(A) |
isbanded |
no description |
isdefinite |
no description |
isdiag |
no description |
ishermitian |
no description |
issymmetric |
no description |
istril |
no description |
istriu |
no description |
kron |
no description |
linsolve |
no description |
logm |
no description |
lscov |
no description |
lu |
no description |
norm |
Vector or matrix norm. Usage: norm(X) or norm(X, p) |
normalize |
normalize(A) -- normalize columns to unit norm. normalize(A, 'range') for [0,1]. |
normest |
no description |
null |
no description |
ols |
no description |
orth |
no description |
pinv |
no description |
planerot |
no description |
qr |
no description |
rank |
rank(A) — matrix rank. |
rref |
no description |
subspace |
no description |
svd |
no description |
tensorprod |
no description |
trace |
trace(A) — sum of diagonal elements. |
vech |
no description |
vecnorm |
no description |
Neural Networks 18 functions
| Function | Description |
|---|---|
configure |
Auto-configure network from data dimensions. |
crossentropy |
Cross-entropy performance metric. |
feedforwardnet |
Create a feedforward neural network. |
fitnet |
Create a function fitting (regression) network. |
getwb |
Get all weights and biases as a single vector. |
init_net |
Initialize (or reinitialize) network weights using Xavier/Glorot. |
logsig |
Log-sigmoid transfer function. |
mse_metric |
Mean squared error performance metric. |
net_info |
Return a human-readable summary of the network architecture. |
patternnet |
Create a pattern recognition (classification) network. |
perform |
Compute network performance (loss) between targets and outputs. |
purelin |
Linear transfer function. |
relu |
Rectified Linear Unit transfer function. |
setwb |
Set all weights and biases from a single vector. |
sim |
Simulate (forward pass) the network. |
softmax |
Softmax transfer function. |
tansig |
Hyperbolic tangent sigmoid transfer function. |
train |
Train the network using backpropagation with SGD + momentum. |
ODE Solvers 10 functions
| Function | Description |
|---|---|
decic |
Compute consistent initial conditions for ode15i. |
ode113 |
Solve non-stiff ODE using variable-order method. |
ode15i |
Solve fully implicit ODE f(t, y, y') = 0. |
ode15s |
Solve stiff ODE using implicit Runge-Kutta (Radau IIA) method. |
ode23 |
Solve non-stiff ODE using Bogacki-Shampine RK(2,3) method. |
ode23s |
Solve stiff ODE using low-order implicit method. |
ode45 |
Solve non-stiff ODE using Dormand-Prince RK(4,5) method. |
odeget |
Get value of ODE option from options structure. |
odeplot |
Default ODE output function for plotting. |
odeset |
Create or modify ODE solver options structure. |
Optimization 13 functions
| Function | Description |
|---|---|
fminbnd |
Find minimum of single-variable function on bounded interval. |
fminsearch |
Find minimum of unconstrained multivariable function (Nelder-Mead). |
fminunc |
Find minimum of unconstrained multivariable function (BFGS). |
fsolve |
Solve system of nonlinear equations. |
fzero |
Find a zero of a univariate function. |
glpk |
Solve linear programming problem using scipy. |
humps |
Humps test function for optimization and integration. |
lsqnonneg |
Linear least squares with nonnegativity constraints. |
optimget |
Get optimization option value. |
optimset |
Create or modify optimization options structure. |
pqpnonneg |
Solve nonneg least squares using an active-set QP approach. |
qp |
Solve quadratic programming problem. |
sqp |
Solve nonlinear programming problem using SQP. |
Parallel Computing 9 functions
| Function | Description |
|---|---|
forge_delete_pool |
Shut down and close a worker pool. |
forge_distributed |
Distribute an array across pool workers. |
forge_fetchOutputs |
Block until a ForgeFuture completes and return its result. |
forge_gather |
Gather a distributed array back into a single array. |
forge_gcp |
Get current pool (None if no pool is active). |
forge_parfeval |
Asynchronously evaluate a function on a pool worker. |
forge_parfor_helper |
Parallel map: apply func to each item in the list. |
forge_parpool |
Create a worker pool. |
forge_spmd_helper |
Single-Program-Multiple-Data execution. |
Plotting 74 functions
| Function | Description |
|---|---|
area |
area(x, y) — filled area plot. |
axis |
axis([xmin xmax ymin ymax]) or axis('equal'), axis('tight'), etc. |
bar |
bar(y), bar(x,y), bar(x,y,width), bar(...,color), bar(...,'prop',val). |
bar3 |
bar3(Z) or bar3(Y, Z) -- 3D bar chart. |
barh |
barh(y, data) — horizontal bar chart. |
boxplot |
boxplot(X) -- Box-and-whisker plot. |
caxis |
Set color axis limits. clim([lo hi]) or clim(lo, hi). |
cla |
cla — clear current axes. |
clf |
clf — clear current figure. |
clim |
Set color axis limits. clim([lo hi]) or clim(lo, hi). |
close |
close — close current figure window. close all closes all figures. |
colorbar |
colorbar — add colorbar to current axes. |
colormap |
Set the default colormap by name. |
contour |
contour(Z), contour(X, Y, Z), contour(..., N), contour(..., levels) |
contour3 |
contour3(X, Y, Z) — 3-D contour plot. |
contourf |
contourf(X, Y, Z) — filled contour plot. |
drawnow |
Force figure update. |
errorbar |
errorbar(x, y, err) — plot with error bars. |
figure |
Create or switch to figure *n*. |
fill |
fill(x, y, c) — filled polygon. |
gca |
gca — get current axes handle. |
gcf |
gcf — get current figure handle. |
get |
Get graphics object property. |
ginput |
ginput(n) -- Get n points from the current axes using the mouse. |
grid |
grid on/off — toggle grid lines on axes. |
heatmap |
heatmap(Z) -- Display matrix as a color-coded heatmap. |
histogram |
no description |
hold |
Toggle or set hold state. Accepts 'on', 'off', or boolean. |
imagesc |
imagesc(Z), imagesc(x,y,Z) - scaled image display |
legend |
legend(str1, str2,...) — add legend to plot. |
line |
line(x, y) — create line graphics object. |
loglog |
loglog(x, y) — log-log scale plot. |
mesh |
mesh(X, Y, Z) — 3-D mesh surface plot. |
meshc |
meshc(X, Y, Z) — mesh plot with contour underneath. |
meshgrid |
[X,Y] = meshgrid(x,y) or [X,Y,Z] = meshgrid(x,y,z) - 2D/3D grid. |
meshz |
meshz(X, Y, Z) — mesh plot with curtain. |
pause |
Pause execution. With arg, pause for t seconds. |
pcolor |
pcolor(Z), pcolor(X,Y,Z) - pseudocolor plot |
peaks |
[X,Y,Z] = peaks(n) |
pie |
pie(x) — pie chart. |
plot |
plot(y), plot(x,y), plot(x,y,fmt), plot(x,y,fmt,'Prop',val,...), etc. |
plot3 |
plot3(x,y,z), plot3(x,y,z,fmt), plot3(x,y,z,fmt,'Prop',val,...) |
polar |
polar(theta, rho) — polar coordinate plot. |
polarplot |
polar(theta, rho) — polar coordinate plot. |
print |
Octave-compatible print command: print(filename), print(h, filename), print('-dpng', filename). |
rectangle |
Draw rectangle at (x, y) with given width and height. |
rotate3d |
Enable/disable 3D rotation. |
saveas |
Save figure: saveas(handle, filename) or saveas(handle, filename, format) or saveas(filename). |
scatter |
scatter(x, y) — scatter plot. |
scatter3 |
scatter3(x, y, z) — 3-D scatter plot. |
semilogx |
semilogx(x, y) — semi-log plot (x-axis logarithmic). |
semilogy |
semilogy(x, y) — semi-log plot (y-axis logarithmic). |
set |
Set graphics object property. set(h, prop, val,...). |
shading |
shading flat/interp/faceted - change surface shading |
sombrero |
[X,Y,Z] = sombrero(n) - sinc hat function |
stairs |
stairs(x, y) — stairstep plot. |
stem |
stem(x, y) — discrete sequence (stem) plot. |
subplot |
subplot(m, n, p) — create axes in tiled positions. |
suptitle |
suptitle(str) or suptitle(str, 'FontSize', n,...) -- add super title to figure. |
surf |
surf(X, Y, Z) — 3-D surface plot. |
surfc |
surfc(X, Y, Z) — surface plot with contour underneath. |
surfl |
surfl(X, Y, Z) — surface plot with lighting. |
text |
Add text annotation. text(x, y, str, 'prop', val,...). |
title |
title(str) or title(str, 'FontSize', 14,...). |
view |
Set 3D view angle. view(az, el) or view(2) or view(3). |
waterfall |
waterfall(X, Y, Z) — waterfall plot. |
xlabel |
xlabel(str) or xlabel(str, 'FontSize', 12,...). |
xlim |
xlim([lo hi]) — set x-axis limits. |
xline |
xline(x) - vertical line at x. |
ylabel |
ylabel(str) or ylabel(str, 'FontSize', 12,...). |
ylim |
ylim([lo hi]) — set y-axis limits. |
yline |
yline(y) - horizontal line at y. |
zlabel |
zlabel(str) or zlabel(str, 'FontSize', 12,...). |
zlim |
zlim([lo hi]) — set z-axis limits. |
Polynomials 18 functions
| Function | Description |
|---|---|
compan |
no description |
conv |
no description |
deconv |
no description |
mkpp |
no description |
mpoles |
no description |
pchip |
no description |
poly |
no description |
polyder |
no description |
polyfit |
no description |
polyint |
polyint(p) or polyint(p, k) -- integrate polynomial with constant k. |
polyreduce |
no description |
polyval |
no description |
polyvalm |
no description |
ppval |
no description |
residue |
no description |
roots |
no description |
spline |
no description |
unmkpp |
no description |
Set Operations 9 functions
| Function | Description |
|---|---|
intersect |
Set intersection of two arrays. |
ismember |
Test whether elements of a are members of b. |
ismembertol |
Test membership within a tolerance. |
powerset |
Power set (all subsets) of the unique elements of x. |
setdiff |
Set difference of two arrays (elements in a but not in b). |
setxor |
Set exclusive or of two arrays. |
union |
Set union of two arrays. |
unique |
Unique elements of array, sorted. unique(x, 'rows') for row-unique. |
uniquetol |
Unique elements within a tolerance. |
Signal Processing 71 functions
| Function | Description |
|---|---|
arch_fit |
Fit ARCH(p) model to data using OLS. |
arch_rnd |
Simulate ARCH(p) process. |
arch_test |
Engle's ARCH test for conditional heteroscedasticity. |
arma_rnd |
Simulate ARMA(p,q) process. |
autoreg_matrix |
Autoregression matrix. |
bartlett |
Bartlett (triangular) window. |
besself |
Bessel/Thomson filter design. |
blackman |
Blackman window. |
butter |
Butterworth filter design. |
cheby1 |
Chebyshev Type I filter design. |
cheby2 |
Chebyshev Type II filter design. |
conv |
Convolution of two vectors. |
conv2 |
2-D convolution. |
cwt |
Continuous wavelet transform. |
decimate |
Decrease sampling rate by integer factor. |
deconv |
Deconvolution: [q, r] = deconv(b, a). |
detrend |
Remove trend from data. |
diffpara |
Estimate fractional differencing parameter. |
durbinlevinson |
Durbin-Levinson algorithm for AR estimation. |
dwt |
Discrete wavelet transform (single level). |
ellip |
Elliptic (Cauer) filter design. |
fftconv |
FFT-based convolution. |
fftfilt |
FFT-based FIR filtering (overlap-add). |
fftshift |
Shift zero-frequency component to center. |
filter2 |
Two-dimensional digital filter. |
filtfilt |
Zero-phase digital filtering. |
findpeaks |
Find local maxima in a signal. |
firwin |
FIR filter design using the window method. |
firwin2 |
FIR filter design using the window method with arbitrary response. |
flattop |
Flat top window. |
fractdiff |
Fractionally difference a time series. |
freqs |
Analog filter frequency response. |
freqz |
Digital filter frequency response. |
freqz_plot |
Plot frequency response from freqz output. |
grpdelay |
Group delay of a digital filter. |
hamming |
Hamming window. |
hanning |
Hanning window. |
hilbert |
Discrete-time analytic signal via Hilbert transform. |
hurst |
Estimate the Hurst exponent of a time series. |
idwt |
Inverse discrete wavelet transform (single level). |
ifftshift |
Inverse of fftshift. |
interp |
Increase sampling rate by integer factor. |
kaiser |
Kaiser window. |
kaiserord |
Estimate Kaiser window FIR filter order. |
lfilter |
Filter data with an IIR or FIR filter. |
medfilt1 |
One-dimensional median filter. |
movfun |
Apply function F over a moving window of length WLEN. |
movslice |
Compute start/end indices for a moving window. |
periodogram |
Periodogram power spectral density estimate. |
rectwin |
Rectangular window. |
remez |
Parks-McClellan optimal FIR filter design. |
resample |
Resample signal to NUM samples using polyphase method. |
sinc |
Sinc function: sin(pi*x) / (pi*x). |
sinetone |
Generate a sine tone. |
sinewave |
Generate a sine wave of M samples. |
sosfilt |
Filter data with second-order sections. |
spectral_adf |
Spectral density from autocovariance via FFT (auto density function). |
spectral_xdf |
Cross spectral density from cross-covariance via FFT. |
spectrogram |
STFT-based spectrogram. |
spencer |
Spencer's 15-point moving average. |
ss2tf |
State-space to transfer function form. |
stft |
Short-time Fourier transform. |
synthesis |
Inverse STFT — reconstruct time signal from STFT output. |
tf2ss |
Transfer function to state-space form. |
tf2zpk |
Transfer function to zero-pole-gain form. |
unwrap |
Unwrap radian phase angles. |
xcorr |
Cross-correlation estimate. |
xcov |
Cross-covariance (mean-removed cross-correlation). |
yulewalker |
Yule-Walker method for AR parameter estimation. |
zerocrossing |
Find zero-crossing indices of a signal. |
zpk2tf |
Zero-pole-gain to transfer function form. |
Sparse Matrices 34 functions
| Function | Description |
|---|---|
bicg |
BiConjugate Gradient solver. |
bicgstab |
BiConjugate Gradient Stabilized solver. |
cgs |
Conjugate Gradient Squared solver. |
colperm |
Column ordering to reduce fill-in (approximate minimum degree). |
eigs |
Compute *k* largest-magnitude eigenvalues/vectors of sparse A. |
etreeplot |
Stub — elimination-tree plot (not yet implemented). |
full |
Convert sparse matrix to dense ForgeArray. |
gmres |
GMRES solver. |
gplot |
Stub — graph plot (not yet implemented). |
ichol |
Incomplete Cholesky (via ILU with low drop tolerance). |
ilu |
Incomplete LU factorisation. |
issparse |
Return True if *x* is a scipy sparse matrix. |
nnz |
Number of stored (explicit) nonzeros. |
nonzeros |
Return nonzero values as a ForgeArray column. |
nzmax |
Maximum number of nonzero entries (same as nnz for scipy). |
pcg |
Preconditioned Conjugate Gradient (wraps scipy CG). |
pcr |
Preconditioned Conjugate Residual (alias for CG). |
qmr |
Quasi-Minimal Residual solver. |
sparse |
sparse(i, j, v, m, n) — create sparse matrix. |
spaugment |
Build augmented matrix [c*I, S; S', 0]. |
spconvert |
Build sparse from an Nx3 triplet matrix [i j v]. |
spdiags |
Sparse matrix from diagonals. |
speye |
Sparse identity matrix. |
spfun |
Apply *fun* to every nonzero element. |
spones |
Replace nonzero entries with ones. |
sprand |
Sparse random matrix (uniform distribution). |
sprandn |
Sparse random matrix (normal distribution). |
sprandsym |
Sparse random symmetric matrix. |
spstats |
Column-wise stats: (count, mean, variance). |
spy |
Return (row_indices, col_indices) of nonzero entries. |
svds |
Compute *k* largest singular values/vectors of sparse A. |
tfqmr |
Transpose-Free Quasi-Minimal Residual solver. |
treelayout |
Stub — tree layout (not yet implemented). |
treeplot |
Stub — tree plot (not yet implemented). |
Special Functions 32 functions
| Function | Description |
|---|---|
besseli |
besseli(nu, x) -- modified Bessel function first kind. |
besselj |
besselj(nu, x) -- Bessel function of first kind. |
besselk |
besselk(nu, x) -- modified Bessel function second kind. |
bessely |
bessely(nu, x) -- Bessel function of second kind. |
beta |
beta(a, b) — beta function B(a,b) = gamma(a)*gamma(b)/gamma(a+b). |
betainc |
betainc(x, a, b) — incomplete beta function. |
betaincinv |
betaincinv(y, a, b) — inverse incomplete beta function. |
betaln |
betaln(a, b) — log of beta function. |
cosint |
no description |
ellipke |
ellipke(m) — complete elliptic integrals K(m) and E(m). |
erf |
erf(x) -- error function. |
erfc |
erfc(x) -- complementary error function. |
erfcinv |
erfcinv(x) -- inverse complementary error function. |
erfinv |
erfinv(x) -- inverse error function. |
expint |
no description |
factor |
factor(n) — prime factorization of integer n. |
factorial |
factorial(n) — factorial n! = 1*2*...*n. |
gamma |
gamma(x) -- gamma function. |
gammainc |
gammainc(x, a) — incomplete gamma function. |
gammaincinv |
gammaincinv(y, a) — inverse incomplete gamma function. |
gammaln |
gammaln(x) -- log of gamma function. |
gcd |
gcd(a, b) -- greatest common divisor. |
isprime |
isprime(n) — true for prime numbers. |
lcm |
lcm(a, b) — least common multiple. |
legendre |
legendre(n, x) — associated Legendre functions. |
nchoosek |
no description |
nthroot |
nthroot(x, n) — real n-th root of x. |
primes |
primes(n) — list of prime numbers up to n. |
reallog |
no description |
realpow |
no description |
realsqrt |
no description |
sinint |
no description |
Special Matrices 11 functions
| Function | Description |
|---|---|
gallery |
Generate a named test matrix. |
hadamard |
Hadamard matrix of order n (must be a power of 2). |
hankel |
Hankel matrix. |
hilb |
Hilbert matrix of order n. |
invhilb |
Inverse of the Hilbert matrix of order n (exact integer entries). |
magic |
Magic square of order n (n >= 3). |
pascal |
Pascal matrix of order n. |
rosser |
The classic 8x8 Rosser test matrix. |
toeplitz |
Toeplitz matrix. |
vander |
Vandermonde matrix. |
wilkinson |
Wilkinson tridiagonal test matrix of order n. |
Statistics 85 functions
| Function | Description |
|---|---|
betacdf |
Beta cumulative distribution function. |
betainv |
Inverse of the beta cumulative distribution function. |
betapdf |
Beta probability density function. |
binopdf |
Binomial probability mass function. |
bounds |
Return [min, max] of data. |
center |
Center data by subtracting the mean. |
chi2cdf |
Chi-squared cumulative distribution function. |
chi2inv |
Inverse of the chi-squared cumulative distribution function. |
chi2pdf |
Chi-squared probability density function. |
corr |
Correlation coefficients. |
corrcoef |
Correlation coefficient matrix (alias for corr). |
corrcov |
Convert covariance matrix to correlation matrix. |
cov |
Covariance matrix. |
discrete_cdf |
CDF of a discrete distribution. |
discrete_inv |
Inverse CDF (quantile function) of a discrete distribution. |
discrete_pdf |
PDF (PMF) of a discrete distribution. |
discrete_rnd |
Random samples from a discrete distribution. |
empirical_cdf |
Empirical CDF. |
empirical_inv |
Empirical inverse CDF (quantile). |
empirical_pdf |
Empirical PDF (kernel density estimate). |
empirical_rnd |
Random samples from empirical distribution. |
expcdf |
Exponential cumulative distribution function. |
expinv |
Inverse of the exponential cumulative distribution function. |
exppdf |
Exponential probability density function. |
exprnd |
Random arrays from the exponential distribution. |
fcdf |
F cumulative distribution function. |
finv |
Inverse of the F cumulative distribution function. |
fpdf |
F probability density function. |
gamcdf |
Gamma cumulative distribution function. |
gaminv |
Inverse of the gamma cumulative distribution function. |
gampdf |
Gamma probability density function. |
hist |
Histogram bin counts (like Octave hist). |
histc |
Histogram bin counts (like Octave histc). |
iqr |
Interquartile range. |
kendall |
Kendall rank correlation coefficient. |
kurtosis |
Kurtosis of data. |
logncdf |
Lognormal cumulative distribution function. |
logninv |
Inverse of the lognormal cumulative distribution function. |
lognpdf |
Lognormal probability density function. |
mad |
Median absolute deviation. |
mape |
Mean absolute percentage error. |
mean |
Arithmetic mean. |
meansq |
Mean squared value. |
median |
Median value. |
mode |
Most frequent value. |
moment |
Central moment of specified order. |
movmad |
Moving median absolute deviation. |
movmax |
Moving maximum. |
movmean |
Moving mean. |
movmedian |
Moving median. |
movmin |
Moving minimum. |
movprod |
Moving product. |
movstd |
Moving standard deviation. |
movsum |
Moving sum. |
movvar |
Moving variance. |
normalize |
Normalize data (z-score by default). |
normcdf |
Normal cumulative distribution function. |
norminv |
Inverse of the normal cumulative distribution function. |
normpdf |
Normal probability density function. |
normrnd |
Random arrays from the normal distribution. |
poisspdf |
Poisson probability mass function. |
prctile |
Percentiles of data. |
quantile |
Quantiles of data. |
range |
Range of data (max - min). |
ranks |
Rank of each element. |
rms |
Root mean square. |
rmse |
Root mean squared error. |
run_count |
Count runs of identical values. |
runlength |
Run-length encoding. |
skewness |
Skewness of data. |
spearman |
Spearman rank correlation coefficient. |
statistics |
Compute a vector of common statistics. |
std |
Standard deviation. |
tcdf |
Student t cumulative distribution function. |
tinv |
Inverse of the Student t cumulative distribution function. |
tpdf |
Student t probability density function. |
unifcdf |
Continuous uniform cumulative distribution function. |
unifinv |
Inverse of the continuous uniform CDF. |
unifpdf |
Continuous uniform probability density function. |
unifrnd |
Random arrays from the continuous uniform distribution. |
var |
Variance. |
wblcdf |
Weibull cumulative distribution function. |
wblinv |
Inverse of the Weibull cumulative distribution function. |
wblpdf |
Weibull probability density function. |
zscore |
Standardized z-scores. |
Strings 52 functions
| Function | Description |
|---|---|
base2dec |
Convert string representation of number in given base to decimal. |
bin2dec |
Convert binary string to decimal number. |
blanks |
Return a string of N blank characters. |
char |
Convert to character array. char(65) -> 'A', char('hello') -> 'hello'. |
chr |
Convert integer to character. chr(65) -> 'A'. |
cstrcat |
Concatenate strings without trimming trailing blanks. |
deblank |
Remove trailing blanks (spaces and tabs) from string. |
dec2base |
Convert decimal integer to string in given base. |
dec2bin |
Convert decimal to binary string. |
dec2hex |
Convert decimal to hexadecimal string. |
double |
Convert char to double (ASCII values). double('A') -> 65. |
endsWith |
Check if string ends with suffix. |
erase |
Erase all occurrences of MATCH from S. |
hex2dec |
Convert hexadecimal string to decimal number. |
index |
Find first occurrence of string T in S (1-based). |
iscellstr |
Return true if every element of cell array is a character string. |
isletter |
Return logical array indicating which characters are letters. |
isstrprop |
Test character string properties. |
lower |
Convert to lowercase. |
mat2str |
Convert matrix to string representation. |
native2unicode |
Convert native byte values to Unicode string. |
num2str |
Convert number to string. |
regexp |
Regular expression matching. Returns match start indices or tokens. |
regexpi |
Case-insensitive regexp. |
regexprep |
no description |
regexptranslate |
Translate string for use in regular expressions. |
rindex |
Find last occurrence of string T in S (1-based). |
sprintf |
Format string with printf-style formatting. |
startsWith |
Check if string starts with prefix. |
str2double |
Convert string to double. |
str2num |
Convert string to number. |
strcat |
Concatenate strings. |
strchr |
Find characters in string, return indices (1-based). |
strcmp |
strcmp(s1, s2) — case-sensitive string compare; cell array aware. |
strcmpi |
strcmpi(s1, s2) — case-insensitive string compare; cell array aware. |
strfind |
Find occurrences of pattern in string. Returns 1-based indices. |
strjoin |
Join cell array of strings. |
strjust |
Justify string. |
strncmp |
strncmp(s1, s2, n) — compare first n characters (case-sensitive). |
strncmpi |
strncmpi(s1, s2, n) — compare first n characters (case-insensitive). |
strrep |
Replace occurrences of old with new in string s. |
strsplit |
Split string into cell array of strings. |
strtok |
Split string at first delimiter token. |
strtrim |
Remove leading and trailing whitespace. |
strtrunc |
Truncate string to at most N characters. |
substr |
Extract substring (1-based offset). |
tolower |
Convert string to lowercase (alias for lower). |
toupper |
Convert string to uppercase (alias for upper). |
unicode2native |
Convert Unicode string to native byte values. |
untabify |
Replace tab characters with spaces. |
upper |
Convert to uppercase. |
validatestring |
Validate string against list of valid options. |
Symbolic Math 19 functions
| Function | Description |
|---|---|
collect_sym |
dict -> new empty dictionary |
diff_sym |
dict -> new empty dictionary |
double_sym |
dict -> new empty dictionary |
dsolve_sym |
dict -> new empty dictionary |
expand_sym |
dict -> new empty dictionary |
factor_sym |
dict -> new empty dictionary |
hessian_sym |
dict -> new empty dictionary |
int_sym |
dict -> new empty dictionary |
jacobian_sym |
dict -> new empty dictionary |
latex_sym |
dict -> new empty dictionary |
limit_sym |
dict -> new empty dictionary |
pretty_sym |
dict -> new empty dictionary |
simplify_sym |
dict -> new empty dictionary |
solve_sym |
dict -> new empty dictionary |
subs_sym |
dict -> new empty dictionary |
sym |
dict -> new empty dictionary |
syms |
dict -> new empty dictionary |
taylor_sym |
dict -> new empty dictionary |
vpa_sym |
dict -> new empty dictionary |
Time and Date 14 functions
| Function | Description |
|---|---|
addtodate |
Add a quantity of time units to a datenum. |
asctime |
Return date string from time structure or current time. |
calendar |
Return a calendar matrix for a given month. |
clock |
Return current date and time as [year month day hour minute second]. |
ctime |
Convert Unix timestamp to date string, or return current time string. |
date |
Return current date as a string in 'DD-Mon-YYYY' format. |
datenum |
Convert date to serial date number. |
datestr |
Convert serial date number to date string. |
datevec |
Convert serial date number to date vector. |
eomday |
Return last day of month for given year and month. |
etime |
Elapsed time between two clock vectors (in seconds). |
is_leap_year |
Check if year is a leap year. |
now |
Return current date/time as a datenum serial date number. |
weekday |
Return day of week from datenum. |
Web / Networking 10 functions
| Function | Description |
|---|---|
ftp_cd |
Change remote directory on FTP connection. |
ftp_close |
Close an FTP connection. |
ftp_connect |
Connect to an FTP server. |
ftp_dir |
List files in current remote directory. |
ftp_get |
Download a file from the FTP server. |
ftp_put |
Upload a file to the FTP server. |
web |
Open URL in system browser (stub) or fetch content. |
weboptions |
Create web request options. |
webread |
Read content from a web service. |
webwrite |
Write data to a web service. |