Main Content

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Funciones matemáticas de punto fijo

Funciones de MATLAB® que admiten tipos de datos de punto fijo

Cree y manipule arreglos y matrices de punto fijo. Utilice funciones aritméticas, de álgebra lineal, trigonométricas, estadísticas y matemáticas complejas que admiten tipos de datos de punto fijo.

Funciones

expandir todo

Creación de arreglos

colon, :Create vectors, array subscripting
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

Manipulación de matrices y arreglos

horzcatConcatenate multiple fi objects horizontally
sortSort elements of real-valued fi object in ascending or descending order
subsasgnSubscripted assignment
subsrefSubscripted reference
vertcatConcatenate fi object arrays vertically

Información básica sobre matrices y arreglos

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
numelNúmero de elementos de datos en un arreglo fi

Operadores de matrices y arreglos

ctransposeComplex conjugate transpose of fi object
minusMatrix difference between fi objects
mpowerFixed-point matrix power (^)
mrdivideDivisión derecha de matrices
mtimesMatrix product of fi objects
plusMatrix sum of fi objects
qrOrthogonal-triangular decomposition
rdivideRight-array division
shiftdataShift data to operate on specified dimension
sumSuma de elementos del arreglo fi
timesMultiplicación elemento por elemento de objetos fi
uminusNegate elements of fi object array
unshiftdataInverse of shiftdata

Solvers de sistemas lineales y factorización de matrices

fixed.backwardSubstituteSolve upper-triangular system of equations through backward substitution (desde R2020b)
fixed.forwardSubstituteSolve lower-triangular system of equations through forward substitution (desde R2020b)
fixed.jacobiSVDFixed-point Jacobi singular value decomposition (desde R2023a)
fixed.qlessQRQ-less QR decomposition (desde R2020b)
fixed.qlessQRUpdateUpdate QR factorization (desde R2020b)
fixed.qrABCompute C = Q'B and upper-triangular factor R (desde R2020b)
fixed.qrMatrixSolveSolve system of linear equations Ax = B for x using QR decomposition (desde R2020b)
fixed.qlessQRMatrixSolveSolve system of linear equations (A'A)X = B for X using Q-less QR decomposition (desde R2020b)
fixed.svdFixed-point Golub-Kahan-Reinsch singular value decomposition (desde R2022b)
svdFixed-point Golub-Kahan-Reinsch singular value decomposition (desde R2022b)

Matrices especializadas

toeplitzCreate Toeplitz matrix
cordicsigmoidCORDIC-based approximation of sigmoid activation (desde R2023b)
absAbsolute value of fi object
complexConstruct complex fi object from real and imaginary parts
conjComplex conjugate of fi object
signPerform sign function (signum function) on array
epsPrecisión relativa cuantizada para objetos fi o quantizer
intmaxValor entero positivo almacenado más grande representable mediante numerictype de un objeto fi
intminSmallest stored integer value representable by numerictype of fi object
nextpow2Exponent of next higher power of 2 of fi object (desde R2020a)
pow2Efficient fixed-point multiplication by 2K
powerFixed-point element-wise power
sqrtSquare root of fi object
accumnegSubtract two fi objects or values
accumposAdd two fi objects or values
addAdd two arrays using fimath object
atan2Four-quadrant inverse tangent of fixed-point values
ceilDivRound the result of division toward positive infinity (desde R2021a)
convConvolución y multiplicación polinómica de objetos fi
cosCosine of fi object in radians
divideDivide two fi objects
fixDivRound the result of division toward zero (desde R2021a)
floorDivRound the result of division toward negative infinity (desde R2021a)
mpyMultiply two arrays using fimath object
nearestDivRound the result of division toward the nearest integer (desde R2021a)
nnzNumber of nonzero elements in fi object (desde R2020b)
normalizedReciprocalCompute normalized reciprocal (desde R2020a)
sinSine of fixed-point values
sqrtSquare root of fi object
subRestar dos objetos fi usando el objeto fimath
binRepresentación binaria sin signo del entero almacenado del objeto fi
bin2numConvertir una cadena binaria de complemento a dos en un número utilizando el objeto quantizer
decUnsigned decimal representation of stored integer of fi object
dec2baseConvert decimal integer to its base-n representation for fi objects (desde R2021b)
dec2binConvert decimal integer to its binary representation for fi objects (desde R2021b)
dec2hexConvert decimal integer to its hexadecimal representation for fi objects (desde R2021b)
hexHexadecimal representation of stored integer of fi object
hex2numConvert hexadecimal string to number using quantizer object
num2binConvert number to binary representation using quantizer object
num2hexConvert number to hexadecimal equivalent using quantizer object
num2intConvert number to signed integer using quantizer object
octOctal representation of stored integer of fi object
sdecSigned decimal representation of stored integer of fi object
eqDetermine whether real-world values are equal
geDetermine whether real-world value of one array is greater than or equal to another
gtDetermine whether real-world value of one array is greater than another
leDetermine whether real-world value of one array is less than or equal to another
ltDetermine whether real-world value of one array is less than another
neDetermine whether real-world values of two arrays are not equal

Funciones de redondeo

ceil Redondea hacia infinito positivo
convergentRound toward nearest integer with ties rounding to nearest even integer
fixRound toward zero
floorRound toward negative infinity
nearestRedondear hacia el entero más cercano con los empates redondeando hacia infinito positivo
roundRound fi object toward nearest integer or round input data using quantizer object

Funciones de módulo y resto

modModulus after division for fi objects
modByConstantModulus after division by a constant denominator (desde R2021a)
errmeanMean of quantization error
errpdfProbability density function of quantization error
errvarVariance of quantization error
logreportQuantization report
maxlogLog maximums
minlogLog minimums
noperationsNumber of quantization operations by quantizer object
noverflowsNumber of overflows
nunderflowsNumber of underflows
resetlogClear log for fi or quantizer object
meanMedia o promedio de un arreglo de punto fijo
medianMedian value of fixed-point array