ヘルプ センターヘルプ センター
入力が固定小数点データ型またはスケーリングされた double データ型かどうかを判別
tf = isscaledtype(a)
tf = isscaledtype(T)
例
tf = isscaledtype(a) は fi オブジェクト a の DataType プロパティが Fixed または ScaledDouble である場合に 1 (true) を返します。それ以外の場合は 0 (false) を返します。
a
fi
DataType
Fixed
ScaledDouble
1
true
0
false
tf = isscaledtype(T) は numerictype オブジェクト T の DataType プロパティが Fixed または ScaledDouble である場合に 1 (true) を返します。それ以外の場合は 0 (false) を返します。
T
numerictype
すべて折りたたむ
fi オブジェクトを作成し、その DataType プロパティが Fixed または ScaledDouble に設定されているかどうかを判別します。
a = fi([pi,pi/2]); tf = isscaledtype(a)
tf = logical 1
numerictype オブジェクトを作成し、その DataType プロパティが Fixed または ScaledDouble に設定されているかどうかを判別します。
T1 = numerictype('DataType','ScaledDouble'); tf = isscaledtype(T1)
T2 = numerictype('DataType','Single'); tf = isscaledtype(T2)
tf = logical 0
入力 fi オブジェクト。スカラー、ベクトル、行列または多次元配列として指定します。
データ型: fi
入力 numerictype オブジェクト。スカラーとして指定します。
R2008a で導入
isboolean | isdouble | isfixed | isfloat | numerictype | isscaleddouble | isscalingbinarypoint | isscalingslopebias | isscalingunspecified | issingle
isboolean
isdouble
isfixed
isfloat
isscaleddouble
isscalingbinarypoint
isscalingslopebias
isscalingunspecified
issingle
この例の変更されたバージョンがあります。編集された方の例を開きますか?
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office