Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

用于编程和数据类型的函数

用于按位运算、数据类型运算符和工具以及程序控制的函数

fi 对象执行按位操作,操作 fi 对象的数据类型,并使用支持定点数据类型的函数开发算法。

函数

全部展开

bitand两个 fi 对象的按位 AND
bitandreduceReduce consecutive slice of bits to one bit by performing bitwise AND operation
bitcmpfi 对象的按位补码
bitconcat串联 fi 对象的位
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
bitshift将位移动指定位数
bitslicegetGet consecutive slice of bits
bitsll逻辑左移位
bitsra算术右移位
bitsrl逻辑右移位
bitxor两个 fi 对象的按位 XOR
bitxorreduceReduce consecutive slice of bits to one bit by performing bitwise exclusive OR operation
getlsb最低有效位
getmsb最高有效位
doublefi 对象的双精度浮点真实值
singlefi 对象的单精度浮点真实值
int获取 fi 对象的存储整数值
int8fi 对象转换为有符号 8 位整数
int16fi 对象转换为有符号 16 位整数
int32fi 对象转换为有符号 32 位整数
int64fi 对象转换为有符号 64 位整数
uint8fi 对象转换为无符号 8 位整数
uint16fi 对象转换为无符号 16 位整数
uint32fi 对象的存储整数值表示为内置 uint32 类型
uint64fi 对象转换为无符号 64 位整数
cast64BitFiToIntCast fi object types that can be exactly represented to a 64-bit integer data type (自 R2020a 起)
cast64BitIntToFiCast 64-bit integer types to an equivalent fi object type (自 R2020a 起)
castFiToIntCast fi object to equivalent integer data type (自 R2020a 起)
castFiToMATLABCast fi object type to an equivalent built-in MATLAB data type (自 R2020a 起)
castIntToFiCast an integer data type to equivalent fi type (自 R2020a 起)
num2str将数值转换为字符数组
reinterpretcast转换定点或整数数据类型而不更改基础数据
rescaleChange scaling of fi object
storedIntegerfi 对象的存储整数值
storedIntegerToDoubleConvert stored integer value of fi object to built-in double value
stripscalingStored integer of fi object
epsfiquantizer 对象的量化相对精度
intmax可由 fi 对象的 numerictype 表示的最大存储正整数值
intmin可由 fi 对象的 numerictype 表示的最小存储整数值
realmax最大正定点值或量化数
realmin正的最小正规化定点值或量化数
fixed.extractNumericTypeExtract numeric type from input (自 R2021a 起)
isboolean确定输入是否为布尔值
isdouble确定输入是否为双精度数据类型
isfi确定变量是否为 fi 对象
isfimath确定变量是否为 fimath 对象
isfimathlocal确定 fi 对象是否具有局部 fimath
isfipref确定输入是否为 fipref 对象
isfixed确定输入是否为定点数据类型
isnumerictype确定输入是否为 numerictype 对象
ispropequalDetermine whether properties of two fi objects are equal
isquantizer确定输入是否为 quantizer 对象
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
issigned确定 fi 对象是否为有符号
issingle确定输入是否为单精度数据类型
isslopebiasscaledDetermine whether numerictype object has nontrivial slope and bias scaling
filter1-D digital filter of fi objects
for用来重复指定次数的 for 循环