Array and Matrix Operations

Available array and matrix operations

The following array and matrix operations support fixed-point data types in MATLAB®.

Functions

expand all

eyeCreate identity matrix with fixed-point properties
onesCreate array of all ones with fixed-point properties
zerosCreate array of all zeros with fixed-point properties
horzcatHorizontally concatenate multiple fi objects
sortSort elements of real-valued fi object in ascending or descending order
vertcatVertically concatenate multiple fi objects
colonCreate vectors, array subscripting
numelNumber of data elements in fi array
isequalDetermine whether real-world values of two fi objects are equal, or determine whether properties of two fimath, numerictype, or quantizer objects are equal
isequivalentDetermine if two numerictype objects have equivalent properties
isfloatDetermine whether input is floating-point data type
maxLargest element in array of fi objects
minSmallest element in array of fi objects
ctransposeComplex conjugate transpose of fi object
minusMatrix difference between fi objects
mpowerFixed-point matrix power (^)
mtimesMatrix product of fi objects
plusMatrix sum of fi objects
qrOrthogonal-triangular decomposition
rdivideRight-array division
shiftdataShift data to operate on specified dimension
sumSum of fi array elements
timesElement-by-element multiplication of fi objects
uminusNegate elements of fi object array
unshiftdataInverse of shiftdata
toeplitzCreate Toeplitz matrix