MATLAB 帮助中心
Convert fi object to signed 32-bit integer
fi
b = int32(a)
b = int32(a) converts the fi object a to a signed 32-bit integer based on its real-world value. If necessary, the data is rounded-to-nearest and saturated to fit in an int32 type with no warning.
b
a
int32
example
collapse all
a = fi([-pi 0.1 pi], 1, 32); int32(a)
ans = 1×3 int32 row vector -3 0 3
Input fi array, specified as a scalar, vector, matrix, or multidimensional array.
Data Types: fi Complex Number Support: Yes
expand all
Introduced before R2006a
storedInteger | int8 | int16 | int64 | uint8 | uint16 | uint32 | uint64
storedInteger
int8
int16
int64
uint8
uint16
uint32
uint64
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处