MATLAB ヘルプ センター
このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
入力が倍精度データ型かどうかを判別
tf = isdouble(a)
tf = isdouble(T)
tf = isdouble(a) は fi オブジェクト a の DataType プロパティが double である場合に 1 (true) を返します。それ以外の場合は 0 (false) を返します。
a
fi
DataType
1
true
0
false
例
tf = isdouble(T) は numerictype オブジェクト T の DataType プロパティが double である場合に 1 (true) を返します。それ以外の場合は 0 (false) を返します。
T
numerictype
double
すべて折りたたむ
fi オブジェクトを作成し、そのデータ型が double であるかどうかを判別します。
a = fi(pi)
a = 3.1416 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 13
tf = logical 0
a = fi(pi,'DataType','double')
a = 3.1416 DataTypeMode: Double
tf = logical 1
numerictype オブジェクトを作成し、そのデータ型が double であるかどうかを判別します。
T = numerictype
T = DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 15
T = numerictype('Double')
T = DataTypeMode: Double
入力 fi オブジェクト。スカラー、ベクトル、行列または多次元配列として指定します。
データ型: fi
入力 numerictype オブジェクト。スカラーとして指定します。
R2008a で導入
isboolean | isfixed | isfloat | isscaleddouble | isscaledtype | isscalingbinarypoint | isscalingslopebias | isscalingunspecified | issingle
isboolean
isfixed
isfloat
isscaleddouble
isscaledtype
isscalingbinarypoint
isscalingslopebias
isscalingunspecified
issingle
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 のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ