| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Embedded MATLAB |
| Contents | Index |
| On this page… |
|---|
About Embedded MATLAB Library Functions |
Each Embedded MATLAB library function has the same name, arguments, and functionality as its MATLAB, Fixed-Point Toolbox, or Signal Processing Toolbox™ counterparts. However, Embedded MATLAB library functions come with limitations that allow Embedded MATLAB to generate efficient embeddable code. By using this set of functions when programming in the Embedded MATLAB language subset, you can generate code for building a portable, standalone, executable target.
Note For more information on fixed-point support in Embedded MATLAB applications, refer to Working with the Fixed-Point Embedded MATLAB Subset in the Fixed-Point Toolbox documentation. |
This topic lists the MATLAB functions supported by the Embedded MATLAB subset in alphabetical order. See also Embedded MATLAB Function Library — Categorical List.
Function | Product | Remarks/Limitations |
|---|---|---|
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
| barthannwin | Signal Processing Toolbox |
|
| bartlett | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
| bitand | MATLAB |
|
| bitand | Fixed-Point Toolbox |
|
| bitandreduce | Fixed-Point Toolbox | — |
| bitcmp | MATLAB |
|
| bitcmp | Fixed-Point Toolbox | — |
| bitconcat | Fixed-Point Toolbox | — |
| bitget | MATLAB | — |
| bitget | Fixed-Point Toolbox | — |
| bitmax | MATLAB | — |
| bitor | MATLAB |
|
| bitor | Fixed-Point Toolbox |
|
| bitorreduce | Fixed-Point Toolbox | — |
| bitreplicate | Fixed-Point Toolbox | — |
| bitrevorder | Signal Processing Toolbox |
|
| bitrol | Fixed-Point Toolbox | — |
| bitror | Fixed-Point Toolbox | — |
| bitset | MATLAB |
|
| bitset | Fixed-Point Toolbox | — |
| bitshift | MATLAB |
|
| bitshift | Fixed-Point Toolbox | — |
| bitsliceget | Fixed-Point Toolbox | — |
| bitsll | Fixed-Point Toolbox | — |
| bitsra | Fixed-Point Toolbox | — |
| bitsrl | Fixed-Point Toolbox | — |
| bitxor | MATLAB |
|
| bitxor | Fixed-Point Toolbox |
|
| bitxorreduce | Fixed-Point Toolbox | — |
| blackman | Signal Processing Toolbox |
|
| blackmanharris | Signal Processing Toolbox |
|
| blanks | MATLAB | — |
| bohmanwin | Signal Processing Toolbox |
|
| bsxfun | MATLAB | — |
| butter | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
| ceil | Fixed-Point Toolbox | — |
| cfirpm | Signal Processing Toolbox |
|
MATLAB | — | |
| chebwin | Signal Processing Toolbox |
|
| cheby1 | Signal Processing Toolbox |
|
| cheby2 | Signal Processing Toolbox |
|
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| cond | MATLAB | — |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB |
| |
Fixed-Point Toolbox |
| |
MATLAB |
| |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| dpss | Signal Processing Toolbox |
|
MATLAB |
| |
| ellip | Signal Processing Toolbox |
|
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB |
| |
MATLAB |
| |
MATLAB |
| |
| fftshift | MATLAB | — |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
| fir1 | Signal Processing Toolbox |
|
| fir2 | Signal Processing Toolbox |
|
| fircls | Signal Processing Toolbox |
|
| fircls1 | Signal Processing Toolbox |
|
| firls | Signal Processing Toolbox |
|
| firpm | Signal Processing Toolbox |
|
| firpmord | Signal Processing Toolbox |
|
| firrcos | Signal Processing Toolbox |
|
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
| flattopwin | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
| gaussfir | Signal Processing Toolbox |
|
| gausswin | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
Fixed-Point Toolbox |
| |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
| hamming | Signal Processing Toolbox |
|
| hann | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB |
| |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
MATLAB |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
interp1q, see interp1 | MATLAB |
|
| intfilt | Signal Processing Toolbox |
|
| MATLAB | — | |
MATLAB | — | |
MATLAB | Singular matrix inputs can produce nonfinite values that differ from MATLAB results. | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| kaiser | Signal Processing Toolbox |
|
| kaiserord | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| maxflat | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | Performs all arithmetic in the output class. Hence, results might not match MATLAB due to different rounding errors. | |
MATLAB |
| |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
NaN or nan | MATLAB |
|
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
| norm | MATLAB | — |
| normest | MATLAB | — |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB |
| |
Fixed-Point Toolbox |
| |
| nuttallwin | Signal Processing Toolbox |
|
MATLAB |
| |
MATLAB | — | |
| parzenwin | Signal Processing Toolbox |
|
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
Aerospace Blockset™ | — | |
Aerospace Blockset | — | |
Aerospace Blockset | — | |
Aerospace Blockset | — | |
Aerospace Blockset | — | |
Aerospace Blockset | — | |
Aerospace Blockset | — | |
MATLAB |
| |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
| rectwin | Signal Processing Toolbox |
|
Fixed-Point Toolbox | — | |
MATLAB | Performs all arithmetic in the output class. Hence, results might not match MATLAB due to different rounding errors. | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB |
| |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| sgolay | Signal Processing Toolbox |
|
MATLAB |
| |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Signal Processing Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB |
| |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB |
| |
| struct | MATLAB | — |
Fixed-Point Toolbox | — | |
MATLAB |
| |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
| taylorwin | Signal Processing Toolbox |
|
MATLAB | — | |
Fixed-Point Toolbox |
| |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
| triang | Signal Processing Toolbox |
|
MATLAB |
| |
Fixed-Point Toolbox |
| |
MATLAB |
| |
Fixed-Point Toolbox |
| |
MATLAB |
| |
| tukeywin | Signal Processing Toolbox |
|
MATLAB |
| |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
MATLAB | — | |
Fixed-Point Toolbox | — | |
MATLAB | — | |
Signal Processing Toolbox |
| |
MATLAB | — | |
| yulewalk | Signal Processing Toolbox |
|
MATLAB |
| |
MATLAB |
|
The following topics list functions in the Embedded MATLAB library by different function types. Each entry includes a function name link to online help for the equivalent MATLAB or Fixed-Point Toolbox function along with a one-line description.
For an alphabetical list of these functions, and remarks and limitations for them, see Embedded MATLAB Function Library — Alphabetical List.
The Embedded MATLAB subset supports the following Aerospace Blockset functions.
Function | Description |
|---|---|
Calculate conjugate of quaternion | |
Divide quaternion by another quaternion | |
Calculate inverse of quaternion | |
Calculate modulus of quaternion | |
Calculate product of two quaternions | |
Calculate norm of quaternion | |
Normalize quaternion |
See Arithmetic Operators + - * / \ ^ ' in the MATLAB Function Reference documentation for detailed descriptions of the following operator equivalent functions.
Function | Description |
|---|---|
| ctranspose | Complex conjugate transpose (') |
Integer division with rounding option | |
Determine if input is object of given class | |
Left array divide | |
Minus (-) | |
Left matrix divide (\) | |
Equivalent of array power operator (.^) | |
Right matrix divide | |
Matrix multiply (*) | |
Plus (+) | |
Array power | |
Right array divide | |
Array multiply | |
Matrix transpose (') | |
Unary minus (-) | |
Unary plus (+) |
The Embedded MATLAB subset supports the following functions for converting one type of data to another:
Data Type | Description |
|---|---|
Cast variable to different data type | |
Create character array (string) | |
Query class of object argument | |
Convert to double-precision floating point | |
Convert to signed integer data type | |
Convert to Boolean true or false data type | |
Convert to single-precision floating point | |
Convert data types without changing underlying data | |
Convert to unsigned integer data type |
The Embedded MATLAB subset supports the following functions for complex numbers:
Function | Description |
|---|---|
Construct complex data from real and imaginary components | |
Return the conjugate of a complex number | |
Return the imaginary part of a complex number | |
Return true for numeric arrays | |
Return false (0) for a complex number | |
Return true if array is a scalar | |
Return the real part of a complex number |
The Embedded MATLAB subset supports the following functions for data types:
Function | Description |
|---|---|
Determine whether input is cell array | |
Determine whether input is character array | |
Validate number of input arguments | |
Validate number of output arguments |
The Embedded MATLAB subset supports the following functions for derivatives and integrals:
Function | Description |
|---|---|
Cumulative trapezoidal numerical integration | |
Differences and approximate derivatives | |
Trapezoidal numerical integration |
The Embedded MATLAB subset supports the following discrete math functions:
Function | Description |
|---|---|
Least common multiple of corresponding elements in arrays | |
Return an array containing the greatest common divisors of the corresponding elements of integer arrays | |
Binomial coefficient or all combinations |
The Embedded MATLAB subset supports the following functions for handling errors:
Function | Description |
|---|---|
Generate error when condition is violated | |
Display message and abort function |
The Embedded MATLAB subset supports the following exponential functions:
Function | Description |
|---|---|
Exponential | |
Matrix exponential | |
Compute exp(x)-1 accurately for small values of x | |
Factorial function | |
Natural logarithm | |
Base 2 logarithm and dissect floating-point numbers into exponent and mantissa | |
Common (base 10) logarithm | |
Compute log(1+x) accurately for small values of x | |
Next higher power of 2 | |
Real nth root of real numbers | |
Natural logarithm for nonnegative real arrays | |
Array power for real-only output | |
Square root for nonnegative real arrays | |
Square root |
The Embedded MATLAB subset supports the following filtering and convolution functions:
Function | Description |
|---|---|
Convolution and polynomial multiplication | |
2-D convolution | |
Deconvolution and polynomial division | |
Remove linear trends | |
1-D digital filter | |
2-D digital filter |
For more information on fixed-point support in Embedded MATLAB, see Working with the Fixed-Point Embedded MATLAB Subset in the Fixed-Point Toolbox documentation. The Embedded MATLAB subset supports the following Fixed-Point Toolbox functions:
Function | Description |
|---|---|
Absolute value of fi object | |
Add two objects using fimath object | |
Determine whether all array elements are nonzero | |
Determine whether any array elements are nonzero | |
Bitwise AND of two fi objects | |
Bitwise AND of consecutive range of bits | |
Bitwise complement of fi object | |
Concatenate bits of two fi objects | |
Bit at certain position | |
Bitwise OR of two fi objects | |
Bitwise OR of consecutive range of bits | |
Replicate and concatenate bits of a fi object | |
Bitwise rotate left | |
Bitwise rotate right | |
Set bit at certain position | |
Shift bits specified number of places | |
Consecutive slice of bits | |
Bit shift left logical | |
Bit shift right arithmetic | |
Bit shift right logical | |
Bitwise exclusive OR of two fi objects | |
Bitwise exclusive OR of consecutive range of bits | |
Round toward positive infinity | |
Construct complex fi object from real and imaginary parts | |
Complex conjugate of fi object | |
Convolution and polynomial multiplication of fi objects | |
Round toward nearest integer with ties rounding to nearest even integer | |
Complex conjugate transpose of fi object | |
Diagonal matrices or diagonals of matrix | |
Display object | |
Divide two objects | |
Double-precision floating-point real-world value of fi object | |
Last index of array | |
Quantized relative accuracy for fi or quantizer objects | |
Determine whether real-world values of two fi objects are equal | |
Construct fi object | |
Construct fimath object | |
Round toward zero | |
Round toward negative infinity | |
Determine whether real-world value of one fi object is greater than or equal to another | |
Property values of object | |
Least significant bit | |
Most significant bit | |
Determine whether real-world value of one fi object is greater than another | |
Horizontally concatenate multiple fi objects | |
Imaginary part of complex number | |
Stored integer value of fi object as built-in int8, int16, or int32 | |
Determine whether fi object is column vector | |
Determine whether array is empty | |
Determine whether real-world values of two fi objects are equal, or determine whether properties of two fimath, numerictype, or quantizer objects are equal | |
Determine whether variable is fi object | |
Determine whether variable is fimath object | |
Determine whether fi object has attached fimath object | |
Determine whether array elements are finite | |
Determine whether array elements are infinite | |
Determine whether array elements are NaN | |
Determine whether input is numeric array | |
Determine whether variable is numerictype object | |
Determine whether array elements are real | |
Determine whether fi object is row vector | |
Determine whether input is scalar | |
Determine whether fi object is signed | |
Determine whether input is vector | |
Determine whether real-world value of fi object is less than or equal to another | |
Vector length | |
Convert numeric values to logical | |
Lower bound of range of fi object | |
Scaling of least significant bit of fi object | |
Determine whether real-world value of one fi object is less than another | |
Largest element in array of fi objects | |
Smallest element in array of fi objects | |
Matrix difference between fi objects | |
Multiply two objects using fimath object | |
Matrix product of fi objects | |
Number of array dimensions | |
Determine whether real-world values of two fi objects are not equal | |
Round toward nearest integer with ties rounding toward positive infinity | |
Number of data elements in fi array | |
Construct numerictype object | |
Rearrange dimensions of multidimensional array | |
Matrix sum of fi objects | |
Multiply by 2K | |
Numerical range of fi or quantizer object | |
Real part of complex number | |
Largest positive fixed-point value or quantized number | |
Smallest positive normalized fixed-point value or quantized number | |
Convert fixed-point data types without changing underlying data | |
Replicate and tile array | |
Change scaling of fi object | |
Reshape array | |
Round fi object toward nearest integer or round input data using quantizer object | |
Construct signed fixed-point numeric object | |
Perform signum function on array | |
Single-precision floating-point real-world value of fi object | |
Array dimensions | |
Sort elements of real-valued fi object in ascending or descending order | |
Square root of fi object | |
Subtract two objects using fimath object | |
Subscripted assignment | |
Subscripted reference | |
Sum of array elements | |
Element-by-element multiplication of fi objects | |
Transpose operation | |
Lower triangular part of matrix | |
Upper triangular part of matrix | |
Construct unsigned fixed-point numeric object | |
Stored integer value of fi object as built-in uint8, uint16, or uint32 | |
Negate elements of fi object array | |
Unary plus | |
Upper bound of range of fi object | |
Vertically concatenate multiple fi objects |
The Embedded MATLAB subset supports the following histogram functions:
Function | Description |
|---|---|
Non-graphical histogram | |
Histogram count |
The Embedded MATLAB subset supports the following functions for accessing argument and return values:
Function | Description |
|---|---|
Return the number of input arguments a user has supplied | |
Return the number of output return values a user has requested |
The Embedded MATLAB subset supports the following functions for interpolation and computational geometry:
Function | Description |
|---|---|
Transform Cartesian coordinates to polar or cylindrical | |
Transform Cartesian coordinates to spherical | |
One-dimensional interpolation (table lookup) | |
Quick one-dimensional linear interpolation (table lookup) | |
Generate X and Y arrays for 3-D plots | |
Transform polar or cylindrical coordinates to Cartesian | |
Transform spherical coordinates to Cartesian |
The Embedded MATLAB subset supports the following functions for performing logical operations:
| Function | Description |
|---|---|
Logical AND (&&) | |
Bitwise AND | |
Bitwise complement | |
Bit at specified position | |
Bitwise OR | |
Set bit at specified position | |
Shift bits specified number of places | |
Bitwise XOR | |
Logical NOT (~) | |
Logical OR (||) | |
Logical exclusive-OR |
The Embedded MATLAB subset supports the following functions for matrices and arrays:
Function | Description |
|---|---|
Return absolute value and complex magnitude of an array | |
Test if all elements are nonzero | |
Phase angle | |
Test for any nonzero elements | |
| bsxfun | Applies element-by-element binary operation to two arrays with singleton expansion enabled |
| cat | Concatenate arrays along specified dimension |
Shift array circularly | |
| compan | Companion matrix |
| cond | Condition number of a matrix with respect to inversion |
| cov | Covariance matrix |
Vector cross product | |
Cumulative product of array elements | |
Cumulative sum of array elements | |
Matrix determinant | |
Return a matrix formed around the specified diagonal vector and the specified diagonal (0, 1, 2,...) it occupies | |
Differences and approximate derivatives | |
Vector dot product | |
Eigenvalues and eigenvectors | |
Identity matrix | |
Return an array of 0s for the specified dimensions | |
Find indices and values of nonzero elements | |
Flip array along specified dimension | |
Flip matrix left to right | |
Flip matrix up to down | |
Convert sparse matrix to full matrix | |
Hilbert matrix | |
Subscripts from linear index | |
Inverse of a square matrix | |
Inverse of Hilbert matrix | |
Inverse permute dimensions of array | |
Determine whether array is empty | |
Test arrays for equality | |
Test arrays for equality, treating NaNs as equal | |
Detect finite elements of an array | |
Determine if input is floating-point array | |
Detect infinite elements of an array | |
Determine if input is integer array | |
Determine if input is logical array | |
Detect NaN elements of an array | |
Determine whether input is sparse | |
Determine whether input is vector | |
Kronecker tensor product | |
Return the length of a matrix | |
Generate linearly spaced vectors | |
Generate logarithmically spaced vectors | |
Matrix factorization | |
Magic square | |
Maximum elements of a matrix | |
Minimum elements of a matrix | |
Generate arrays for N-D functions and interpolation | |
Number of dimensions | |
Number of nonzero matrix elements | |
Nonzero matrix elements | |
Vector and matrix norms | |
2-norm estimate | |
Number of elements in array or subscripted array | |
Create a matrix of all 1s | |
Pascal matrix | |
Rearrange dimensions of array | |
Pseudoinverse of a matrix | |
Givens plane rotation | |
Product of array element | |
Orthogonal-triangular decomposition | |
Random permutation | |
Rank of matrix | |
Matrix reciprocal condition number estimate | |
Replicate and tile an array | |
Reshape one array into the dimensions of another | |
Rotate matrix 90 degrees | |
Shift dimensions | |
Signum function | |
Return the size of a matrix | |
Sort elements in ascending or descending order | |
Sort rows in ascending order | |
Remove singleton dimensions | |
Single index from subscripts | |
Angle between two subspaces | |
Sum of matrix elements | |
Toeplitz matrix | |
Sum of diagonal elements | |
Extract lower triangular part | |
Extract upper triangular part | |
Return an array of logical (Boolean) 1s for the specified dimensions | |
Vandermonde matrix | |
Wilkinson's eigenvalue test matrix | |
Create a matrix of all zeros |
The Embedded MATLAB subset supports the following nonlinear numerical methods:
Function | Description |
|---|---|
Find root of continuous function of one variable | |
Numerically evaluate double integral over planar region |
The Embedded MATLAB subset supports the following functions for polynomials:
Function | Description |
|---|---|
Polynomial with specified roots | |
Polynomial curve fitting | |
Polynomial evaluation | |
Polynomial roots |
The Embedded MATLAB subset supports the following functions for performing relational operations:
Function | Description |
|---|---|
Equal (==) | |
Greater than or equal to (>=) | |
Greater than (>) | |
Less than or equal to (<=) | |
Less than (<) | |
Not equal (~=) |
The Embedded MATLAB subset supports the following rounding and remainder functions:
Function | Description |
|---|---|
Round toward plus infinity | |
Round toward positive infinity | |
Round toward nearest integer with ties rounding to nearest even integer | |
Round toward zero | |
Round toward zero | |
Round toward minus infinity | |
Round toward negative infinity | |
Modulus (signed remainder after division) | |
Round toward nearest integer with ties rounding toward positive infinity | |
Remainder after division | |
Round toward nearest integer | |
Round fi object toward nearest integer or round input data using quantizer object |
The Embedded MATLAB subset supports the following set functions:
Function | Description |
|---|---|
Determine whether set elements are in sorted order |
The Embedded MATLAB subset supports the following signal processing functions:
| Function | Description |
|---|---|
Modified Bartlett-Hann window (requires Signal Processing Blockset license to generate code) | |
Permute data into bit-reversed order (requires Signal Processing Blockset license to generate code) | |
Blackman window (requires Signal Processing Blockset license to generate code) | |
Minimum 4-term Blackman-Harris window (requires Signal Processing Blockset license to generate code) | |
Bohman window (requires Signal Processing Blockset license to generate code) | |
Butterworth filter design (requires Signal Processing Blockset license to generate code) | |
Complex and nonlinear-phase equiripple FIR filter design (requires Signal Processing Blockset license to generate code) | |
Chebyshev window (requires Signal Processing Blockset license to generate code) | |
Chebyshev Type I filter design (passband ripple) (requires Signal Processing Blockset license to generate code) | |
Chebyshev Type II filter design (stopband ripple) (requires Signal Processing Blockset license to generate code) | |
Cholesky factorization | |
Convolution and polynomial multiplication | |
Discrete prolate spheroidal (Slepian) sequences (requires Signal Processing Blockset license to generate code) | |
Elliptic filter design (requires Signal Processing Blockset license to generate code) | |
Discrete Fourier transform | |
2-D discrete Fourier transform | |
Shift zero-frequency component to center of spectrum | |
Filter a data sequence using a digital filter that works for both real and complex inputs | |
Window-based finite impulse response filter design (requires Signal Processing Blockset license to generate code) | |
Frequency sampling-based finite impulse response filter design (requires Signal Processing Blockset license to generate code) | |
Constrained least square, lowpass and highpass, linear phase, FIR filter design (requires Signal Processing Blockset license to generate code) | |
Constrained least square, lowpass and highpass, linear phase, FIR filter design (requires Signal Processing Blockset license to generate code) | |
Least square linear-phase FIR filter design (requires Signal Processing Blockset license to generate code) | |
Parks-McClellan optimal FIR filter design (requires Signal Processing Blockset license to generate code) | |
Parks-McClellan optimal FIR filter order estimation (requires Signal Processing Blockset license to generate code) | |
Raised cosine FIR filter design (requires Signal Processing Blockset license to generate code) | |
Flat Top weighted window (requires Signal Processing Blockset license to generate code) | |
Frequency spacing for frequency response | |
Gaussian FIR pulse-shaping filter (requires Signal Processing Blockset license to generate code) | |
Gaussian window (requires Signal Processing Blockset license to generate code) | |
Hamming window (requires Signal Processing Blockset license to generate code) | |
Hann (Hanning) window (requires Signal Processing Blockset license to generate code) | |
Inverse discrete Fourier transform | |
2-D inverse discrete Fourier transform | |
Inverse discrete Fourier transform shift | |
Interpolation FIR filter design (requires Signal Processing Blockset license to generate code) | |
Kaiser window (requires Signal Processing Blockset license to generate code) | |
Kaiser window FIR filter design estimation parameters (requires Signal Processing Blockset license to generate code) | |
Maxflat FIR filter (requires Signal Processing Blockset license to generate code) | |
Nuttall-defined minimum 4-term Blackman-Harris window (requires Signal Processing Blockset license to generate code) | |
Parzen (de la Valle-Poussin) window (requires Signal Processing Blockset license to generate code) | |
Rectangular window (requires Signal Processing Blockset license to generate code) | |
Savitzky-Golay filter design (requires Signal Processing Blockset license to generate code) | |
Second-order (biquadratic) IIR filtering (requires Signal Processing Blockset license to generate code) | |
Singular value decomposition | |
Taylor window (requires Signal Processing Blockset license to generate code) | |
Triangular window (requires Signal Processing Blockset license to generate code) | |
Tukey (tapered cosine) window (requires Signal Processing Blockset license to generate code) | |
Cross-correlation (requires Signal Processing Blockset license to generate code) | |
Recursive digital filter design (requires Signal Processing Blockset license to generate code) | |
Convert zero-pole-gain filter parameters to transfer function form (requires Signal Processing Blockset license to generate code) |
The Embedded MATLAB subset supports the following special data values:
Symbol | Description |
|---|---|
Floating-point relative accuracy | |
IEEE® arithmetic representation for positive infinity | |
Largest possible value of specified integer type | |
Smallest possible value of specified integer type | |
NaN or nan | Not a number |
Ratio of the circumference to the diameter for a circle | |
Uniformly distributed pseudorandom numbers | |
Normally distributed random numbers | |
Largest positive floating-point number | |
Smallest positive floating-point number |
The Embedded MATLAB subset supports the following specialized math functions:
Symbol | Description |
|---|---|
Beta function | |
Incomplete beta function | |
Logarithm of beta function | |
Complete elliptic integrals of first and second kind | |
Error function | |
Complementary error function | |
Inverse of complementary error function | |
Scaled complementary error function | |
Inverse error function | |
Exponential integral | |
Gamma function | |
Incomplete gamma function | |
Logarithm of the gamma function |
The Embedded MATLAB subset supports the following statistical functions:
Function | Description |
|---|---|
Average or mean value of array | |
Median value of array | |
Most frequent values in array | |
Standard deviation | |
Variance |
The Embedded MATLAB subset supports the following functions for handling strings:
Function | Description |
|---|---|
Convert binary number string to decimal number | |
Maximum double-precision floating-point integer | |
Create string of blank characters | |
Create character array (string) | |
Convert hexadecimal number string to decimal number | |
True for character array (string) | |
Return a logical result for the comparison of two strings; limited to strings known at compile time |
The Embedded MATLAB subset supports the following functions for handling structures:
Function | Description |
|---|---|
Determine whether input is structure array field | |
Create structure | |
Determine whether input is a structure |
The Embedded MATLAB subset supports the following trigonometric functions:
Function | Description |
|---|---|
Inverse cosine | |
Inverse cosine; result in degrees | |
Inverse hyperbolic cosine | |
Inverse cotangent; result in radians | |
Inverse cotangent; result in degrees | |
Inverse hyperbolic cotangent | |
Inverse cosecant; result in radians | |
Inverse cosecant; result in degrees | |
Inverse cosecant and inverse hyperbolic cosecant | |
Inverse secant; result in radians | |
Inverse secant; result in degrees | |
Inverse hyperbolic secant | |
Inverse sine | |
Inverse hyperbolic sine | |
Inverse tangent | |
Four quadrant inverse tangent | |
Inverse tangent; result in degrees | |
Inverse hyperbolic tangent | |
Cosine | |
Cosine; result in degrees | |
Hyperbolic cosine | |
Cotangent; result in radians | |
Cotangent; result in degrees | |
Hyperbolic cotangent | |
Cosecant; result in radians | |
Cosecant; result in degrees | |
Hyperbolic cosecant | |
Square root of sum of squares | |
Secant; result in radians | |
Secant; result in degrees | |
Hyperbolic secant | |
Sine | |
Sine; result in degrees | |
Hyperbolic sine | |
Tangent | |
Tangent; result in degrees | |
Hyperbolic tangent |
![]() | Supported Operators | Calling Functions in the Embedded MATLAB Subset | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |