MATLAB ヘルプ センター
Convert fi object to signed 16-bit integer
fi
b = int16(a)
b = int16(a) converts the fi object a to a signed 16-bit integer based on its real-world value. If necessary, the data is rounded-to-nearest and saturated to fit in an int16 type with no warning.
b
a
int16
example
collapse all
a = fi([-pi 0.1 pi],1,16); b = int16(a)
b = 1×3 int16 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 | int32 | int64 | uint8 | uint16 | uint32 | uint64
storedInteger
int8
int32
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ