Main Content

Fonctions de programmation et de types de données

Fonctions pour les opérations bit à bit, les opérateurs et outils sur les types de données et le contrôle des programmes

Effectuez une manipulation bit à bit des objets fi, manipulez le type de données des objets fi et développez des algorithmes à l'aide de fonctions qui supportent les types de données à virgule fixe.

Fonctions

développer tout

bitandBitwise AND of two fi objects
bitandreduceReduce consecutive slice of bits to one bit by performing bitwise AND operation
bitcmpBitwise complement of fi object
bitconcatConcatenate bits of fi objects
bitgetGet bits at certain positions
bitorBitwise OR of two fi objects
bitorreduceReduce consecutive slice of bits to one bit by performing bitwise OR operation
bitreplicateReplicate and concatenate bits of fi object
bitrolBitwise rotate left
bitrorBitwise rotate right
bitsetSet bit at specific location
bitshiftShift bits specified number of places
bitslicegetGet consecutive slice of bits
bitsllBit shift left logical
bitsraBit shift right arithmetic
bitsrlBit shift right logical
bitxorBitwise XOR of two fi objects
bitxorreduceReduce consecutive slice of bits to one bit by performing bitwise exclusive OR operation
getlsbLeast significant bit
getmsbMost significant bit
doubleDouble-precision floating-point real-world value of fi object
singleSingle-precision floating-point real-world value of fi object
intObtenir la valeur entière stockée d'un objet fi
int8Convert fi object to signed 8-bit integer
int16Convert fi object to signed 16-bit integer
int32Convert fi object to signed 32-bit integer
int64Convert fi object to signed 64-bit integer
uint8Convert fi object to unsigned 8-bit integer
uint16Convert fi object to unsigned 16-bit integer
uint32Stored integer value of fi object as built-in uint32
uint64Convert fi object to unsigned 64-bit integer
cast64BitFiToIntCast fi object types that can be exactly represented to a 64-bit integer data type (depuis R2020a)
cast64BitIntToFiCast 64-bit integer types to an equivalent fi object type (depuis R2020a)
castFiToIntCast fi object to equivalent integer data type (depuis R2020a)
castFiToMATLABCast fi object type to an equivalent built-in MATLAB data type (depuis R2020a)
castIntToFiCast an integer data type to equivalent fi type (depuis R2020a)
num2strConvert numbers to character array
reinterpretcastConvert fixed-point or integer data types without changing underlying data
rescaleChange scaling of fi object
storedIntegerStored integer value of fi object
storedIntegerToDoubleConvert stored integer value of fi object to built-in double value
stripscalingStored integer of fi object
epsQuantized relative accuracy for fi or quantizer objects
intmaxLargest positive stored integer value representable by numerictype of fi object
intminSmallest stored integer value representable by numerictype of fi object
realmaxLargest positive fixed-point value or quantized number
realminSmallest positive normalized fixed-point value or quantized number
fixed.extractNumericTypeExtract numeric type from input (depuis R2021a)
isbooleanDetermine whether input is Boolean
isdoubleDéterminer si l'entrée est un type de données à double précision
isfiDetermine whether variable is fi object
isfimathDetermine whether variable is fimath object
isfimathlocalDetermine whether fi object has local fimath
isfiprefDetermine whether input is fipref object
isfixedDetermine whether input is fixed-point data type
isnumerictypeDetermine whether input is numerictype object
ispropequalDetermine whether properties of two fi objects are equal
isquantizerDetermine whether input is quantizer object
isscaleddoubleDetermine whether input is scaled double data type
isscaledtypeDetermine whether input is fixed-point or scaled double data type
isscalingbinarypointDetermine whether input has binary point scaling
isscalingslopebiasDetermine whether input has nontrivial slope and bias scaling
isscalingunspecifiedDetermine whether input has unspecified scaling
issignedDetermine whether fi object is signed
issingleDetermine whether input is single-precision data type
isslopebiasscaledDetermine whether numerictype object has nontrivial slope and bias scaling
filter1-D digital filter of fi objects
forBoucle for à répéter le nombre de fois indiqué