La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
Fonctions mathématiques en virgule fixe
Créez et utilisez des matrices et tableaux à virgule fixe. Utilisez des fonctions arithmétiques, algébriques linéaires, trigonométriques, statistiques et mathématiques complexes qui supportent les types de données à virgule fixe.
Fonctions
Opérations de tableaux et de matrices
Création d'un tableau
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 |
Utilisation de tableaux et de matrices
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 |
Informations de base sur les tableaux et les matrices
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 | Nombre d’éléments de données dans un tableau fi |
Opérateurs de tableaux et de matrices
ctranspose | Complex conjugate transpose of fi object |
minus | Matrix difference between fi objects |
mpower | Fixed-point matrix power (^) |
mrdivide | Right-matrix division |
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 | Sum of fi array elements |
times | Element-by-element multiplication of fi objects |
uminus | Negate elements of fi object array |
unshiftdata | Inverse of shiftdata |
Solveurs de systèmes linéaires et factorisations de matrices
fixed.backwardSubstitute | Solve upper-triangular system of equations through backward substitution (depuis R2020b) |
fixed.forwardSubstitute | Solve lower-triangular system of equations through forward substitution (depuis R2020b) |
fixed.jacobiSVD | Fixed-point Jacobi singular value decomposition (depuis R2023a) |
fixed.qlessQR | Q-less QR decomposition (depuis R2020b) |
fixed.qlessQRUpdate | Update QR factorization (depuis R2020b) |
fixed.qrAB | Compute C = Q'B and upper-triangular factor R (depuis R2020b) |
fixed.qrMatrixSolve | Solve system of linear equations Ax = B for x using QR decomposition (depuis R2020b) |
fixed.qlessQRMatrixSolve | Solve system of linear equations (A'A)X = B for X using Q-less QR decomposition (depuis R2020b) |
fixed.svd | Fixed-point Golub-Kahan-Reinsch singular value decomposition (depuis R2022b) |
svd | Fixed-point Golub-Kahan-Reinsch singular value decomposition (depuis R2022b) |
Matrices spécialisées
toeplitz | Create Toeplitz matrix |
Activations
cordicsigmoid | CORDIC-based approximation of sigmoid activation (depuis R2023b) |
Mathématiques complexes
Constantes
Exponentiels
Opérations mathématiques
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 (depuis R2021a) |
conv | Convolution and polynomial multiplication of fi
objects |
cos | Cosine of fi object in radians |
divide | Divide two fi objects |
fixDiv | Round the result of division toward zero (depuis R2021a) |
floorDiv | Round the result of division toward negative infinity (depuis R2021a) |
mpy | Multiply two arrays using fimath object |
nearestDiv | Round the result of division toward the nearest integer (depuis R2021a) |
nnz | Number of nonzero elements in fi object (depuis R2020b) |
normalizedReciprocal | Compute normalized reciprocal (depuis R2020a) |
sin | Sine of fixed-point values |
sqrt | Square root of fi object |
sub | Subtract two arrays using fimath object |
Conversion de base
bin | Représentation binaire non signée de l'entier stocké de l'objet fi |
bin2num | Convert two's complement binary string to number using quantizer
object |
dec | Unsigned decimal representation of stored integer of fi
object |
dec2base | Convert decimal integer to its base-n representation for
fi objects (depuis R2021b) |
dec2bin | Convert decimal integer to its binary representation for fi
objects (depuis R2021b) |
dec2hex | Convert decimal integer to its hexadecimal representation for fi
objects (depuis 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 |
Opérateurs relationnels
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 |
Arrondi et reste
Fonctions d’arrondi
ceil | Rounds toward positive infinity |
convergent | Round toward nearest integer with ties rounding to nearest even integer |
fix | Round toward zero |
floor | Round toward negative infinity |
nearest | Round toward nearest integer with ties rounding toward positive infinity |
round | Round fi object toward nearest integer or round input data using
quantizer object |
Fonctions de modulo et de reste
mod | Modulus after division for fi objects |
modByConstant | Modulus after division by a constant denominator (depuis R2021a) |
Statistiques
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 | Average or mean value of fixed-point array |
median | Median value of fixed-point array |
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)