Functions for Programming and Data Types - MATLAB & Simulink (original ) (raw )Main Content
Functions for bitwise operations, data type operators and tools, and program control
Perform bitwise manipulation of fi
objects, manipulate the data type of fi
objects, and develop algorithms using functions that support fixed-point data types.
Functionsexpand all
bitand
Bitwise AND of two fi objects
bitandreduce
Reduce consecutive slice of bits to one bit by performing bitwise AND operation
bitcmp
Bitwise complement of fi object
bitconcat
Concatenate bits of fi objects
bitget
Get bits at certain positions
bitor
Bitwise OR of two fi objects
bitorreduce
Reduce consecutive slice of bits to one bit by performing bitwise OR operation
bitreplicate
Replicate and concatenate bits of fi object
bitrol
Bitwise rotate left
bitror
Bitwise rotate right
bitset
Set bit at specific location
bitshift
Shift bits specified number of places
bitsliceget
Get consecutive slice of bits
bitsll
Bit shift left logical
bitsra
Bit shift right arithmetic
bitsrl
Bit shift right logical
bitxor
Bitwise XOR of two fi objects
bitxorreduce
Reduce consecutive slice of bits to one bit by performing bitwise exclusive OR operation
getlsb
Least significant bit
getmsb
Most significant bit
double
Double-precision floating-point real-world value of fi object
single
Single-precision floating-point real-world value of fi object
int
Get and set stored integer value of fi object
int8
Convert fi object to signed 8-bit integer
int16
Convert fi object to signed 16-bit integer
int32
Convert fi object to signed 32-bit integer
int64
Convert fi object to signed 64-bit integer
uint8
Convert fi object to unsigned 8-bit integer
uint16
Convert fi object to unsigned 16-bit integer
uint32
Stored integer value of fi object as built-in uint32
uint64
Convert fi object to unsigned 64-bit integer
eps
Quantized relative accuracy for fi orquantizer objects
intmax
Largest positive stored integer value representable by numerictype of fi object
intmin
Smallest stored integer value representable by numerictype of fi object
realmax
Largest positive fixed-point value or quantized number
realmin
Smallest positive normalized fixed-point value or quantized number
filter
1-D digital filter of fi objects
for
for loop to repeat specified number of times