用于编程和数据类型的函数
用于按位运算、数据类型运算符和工具以及程序控制的函数
对 fi
对象执行按位操作,操作 fi
对象的数据类型,并使用支持定点数据类型的函数开发算法。
函数
bitand | 两个 fi 对象的按位 AND |
bitandreduce | Reduce consecutive slice of bits to one bit by performing
bitwise AND operation |
bitcmp | fi 对象的按位补码 |
bitconcat | 串联 fi 对象的位 |
bitget | 获取在特定位置上的位 |
bitor | 两个 fi 对象的按位 OR |
bitorreduce | Reduce consecutive slice of bits to one bit by performing
bitwise OR operation |
bitreplicate | 复制和串联 fi 对象的位 |
bitrol | Bitwise rotate left |
bitror | Bitwise rotate right |
bitset | Set bit at specific location |
bitshift | 将位移动指定位数 |
bitsliceget | 获取位的连续切片 |
bitsll | 逻辑左移位 |
bitsra | 算术右移位 |
bitsrl | 逻辑右移位 |
bitxor | 两个 fi 对象的按位 XOR |
bitxorreduce | Reduce consecutive slice of bits to one bit by performing
bitwise exclusive OR operation |
getlsb | 最低有效位 |
getmsb | 最高有效位 |
double | fi 对象的双精度浮点真实值 |
single | fi 对象的单精度浮点真实值 |
int | Get and set stored integer value of fi object |
int8 | 将 fi 对象转换为有符号 8 位整数 |
int16 | Convert fi object to signed 16-bit integer |
int32 | Convert fi object to signed 32-bit integer |
int64 | 将 fi 对象转换为有符号 64 位整数 |
uint8 | 将 fi 对象转换为无符号 8 位整数 |
uint16 | 将 fi 对象转换为无符号 16 位整数 |
uint32 | 将 fi 对象的存储整数值表示为内置 uint32 类型 |
uint64 | 将 fi 对象转换为无符号 64 位整数 |
cast64BitFiToInt | Cast fi object types that can be exactly represented to a
64-bit integer data type |
cast64BitIntToFi | Cast 64-bit integer types to an equivalent fi object
type |
castFiToInt | Cast fi object to equivalent integer data type |
castFiToMATLAB | Cast fi object type to an equivalent built-in MATLAB data type |
castIntToFi | Cast an integer data type to equivalent fi type |
num2str | 将数值转换为字符数组 |
reinterpretcast | 转换定点或整数数据类型而不更改基础数据 |
rescale | 更改 fi 对象的定标 |
storedInteger | 获取 fi 对象的存储整数值 |
storedIntegerToDouble | 将 fi 对象的存储整数值转换为内置双精度值 |
stripscaling | fi 对象的存储整数 |
fixed.extractNumericType | Extract numeric type from input (自 R2021a 起) |
isboolean | 确定输入是否为布尔值 |
isdouble | 确定输入是否为双精度数据类型 |
isfi | 确定变量是否为 fi 对象 |
isfimath | 确定变量是否为 fimath 对象 |
isfimathlocal | 确定 fi 对象是否具有局部 fimath |
isfipref | 确定输入是否为 fipref 对象 |
isfixed | 确定输入是否为定点数据类型 |
isnumerictype | 确定输入是否为 numerictype 对象 |
ispropequal | 确定两个 fi 对象的属性是否相等 |
isquantizer | 确定输入是否为 quantizer 对象 |
isscaleddouble | 确定输入是否为定标双精度数据类型 |
isscaledtype | 确定输入是定点还是定标双精度数据类型 |
isscalingbinarypoint | 确定输入是否具有二进制小数点定标 |
isscalingslopebias | 确定输入是否具有非平凡斜率和偏置定标 |
isscalingunspecified | Determine whether input has unspecified scaling |
issigned | 确定 fi 对象是否为有符号对象 |
issingle | 确定输入是否为单精度数据类型 |
isslopebiasscaled | 确定 numerictype 对象是否具有非平凡斜率和偏置定标 |
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- 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)