Funciones matemáticas 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
Creación de arreglos
colon, : | Create vectors, array subscripting |
eye | Create identity matrix with fixed-point properties |
ones | Create array of all ones with fixed-point properties |
zeros | Create array of all zeros with fixed-point properties |
Manipulación de matrices y arreglos
horzcat | Concatenate multiple fi objects horizontally |
sort | Sort elements of real-valued fi object in ascending or descending
order |
subsasgn | Subscripted assignment |
subsref | Subscripted reference |
vertcat | Concatenate fi object arrays vertically |
Información básica sobre matrices y arreglos
isequivalent | Determine if two numerictype objects
have equivalent properties |
isfloat | Determine whether input is floating-point data type |
max | Largest element in array of fi objects |
min | Smallest element in array of fi objects |
numel | Número de elementos de datos en un arreglo fi |
Operadores de matrices y arreglos
ctranspose | Complex conjugate transpose of fi object |
minus | Matrix difference between fi objects |
mpower | Fixed-point matrix power (^) |
mrdivide | División derecha de matrices |
mtimes | Matrix product of fi objects |
plus | Matrix sum of fi objects |
qr | Orthogonal-triangular decomposition |
rdivide | Right-array division |
shiftdata | Shift data to operate on specified dimension |
sum | Suma de elementos del arreglo fi |
times | Multiplicación elemento por elemento de objetos fi |
uminus | Negate elements of fi object array |
unshiftdata | Inverse of shiftdata |
Solvers de sistemas lineales y factorización de matrices
fixed.backwardSubstitute | Solve upper-triangular system of equations through backward substitution |
fixed.forwardSubstitute | Solve lower-triangular system of equations through forward substitution |
fixed.jacobiSVD | Fixed-point Jacobi singular value decomposition (Desde R2023a) |
fixed.qlessQR | Q-less QR decomposition |
fixed.qlessQRUpdate | Update QR factorization |
fixed.qrAB | Compute C = Q'B and upper-triangular factor R |
fixed.qrMatrixSolve | Solve system of linear equations Ax = B for x using QR decomposition |
fixed.qlessQRMatrixSolve | Solve system of linear equations (A'A)X = B for X using Q-less QR decomposition |
fixed.svd | Fixed-point Golub-Kahan-Reinsch singular value decomposition (Desde R2022b) |
svd | Fixed-point Golub-Kahan-Reinsch singular value decomposition (Desde R2022b) |
Matrices especializadas
toeplitz | Create Toeplitz matrix |
cordicsigmoid | CORDIC-based approximation of sigmoid activation (Desde R2023b) |
accumneg | Subtract two fi objects or values |
accumpos | Add two fi objects or values |
add | Add two arrays using fimath object |
atan2 | Four-quadrant inverse tangent of fixed-point values |
ceilDiv | Round the result of division toward positive infinity (Desde R2021a) |
conv | Convolución y multiplicación polinómica de objetos fi |
cos | Cosine of fi object in radians |
divide | Divide two fi objects |
fixDiv | Round the result of division toward zero (Desde R2021a) |
floorDiv | Round the result of division toward negative infinity (Desde R2021a) |
mpy | Multiply two arrays using fimath object |
nearestDiv | Round the result of division toward the nearest integer (Desde R2021a) |
nnz | Number of nonzero elements in fi object |
normalizedReciprocal | Compute normalized reciprocal |
sin | Sine of fixed-point values |
sqrt | Square root of fi object |
sub | Subtract two arrays using fimath object |
bin | Representación binaria sin signo del entero almacenado del objeto fi |
bin2num | Convertir una cadena binaria de complemento a dos en un número utilizando el objeto quantizer |
dec | Representación decimal sin signo del entero almacenado del objeto fi |
dec2base | Convert decimal integer to its base-n representation for
fi objects (Desde R2021b) |
dec2bin | Convert decimal integer to its binary representation for fi
objects (Desde R2021b) |
dec2hex | Convert decimal integer to its hexadecimal representation for fi
objects (Desde R2021b) |
hex | Hexadecimal representation of stored integer of fi
object |
hex2num | Convert hexadecimal string to number using quantizer
object |
num2bin | Convert number to binary representation using quantizer
object |
num2hex | Convert number to hexadecimal equivalent using quantizer
object |
num2int | Convert number to signed integer using quantizer
object |
oct | Octal representation of stored integer of fi object |
sdec | Signed decimal representation of stored integer of fi object |
eq | Determine whether real-world values are equal |
ge | Determine whether real-world value of one array is greater than or equal to another |
gt | Determine whether real-world value of one array is greater than another |
le | Determine whether real-world value of one array is less than or equal to another |
lt | Determine whether real-world value of one array is less than another |
ne | Determine whether real-world values of two arrays are not equal |
Funciones de redondeo
ceil | Redondea hacia infinito positivo |
convergent | Round toward nearest integer with ties rounding to nearest even integer |
fix | Redondeo hacia cero |
floor | Redondeo hacia infinito negativo |
nearest | Redondear hacia el entero más cercano con los empates redondeando hacia infinito positivo |
round | Round fi object toward nearest integer or round input data using
quantizer object |
Funciones de módulo y resto
mod | Modulus after division for fi objects |
modByConstant | Modulus after division by a constant denominator (Desde R2021a) |
errmean | Mean of quantization error |
errpdf | Probability density function of quantization error |
errvar | Variance of quantization error |
logreport | Quantization report |
maxlog | Log maximums |
minlog | Log minimums |
noperations | Number of quantization operations by quantizer
object |
noverflows | Number of overflows |
nunderflows | Number of underflows |
resetlog | Clear log for fi or quantizer object |
mean | Media o promedio de un arreglo de punto fijo |
median | Median value of fixed-point array |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)