numerictype
Construct an embedded.numerictype
object describing fixed-point
or floating-point data type
Syntax
Description
T = numerictype
creates a default numerictype
object.
T = numerictype(
creates a fixed-point
s
)numerictype
object with unspecified scaling, a signed property value of
s
, and a 16-bit word length.
T = numerictype(
creates a fixed-point s
,w
,slopeadjustmentfactor
,fixedexponent
,bias
)numerictype
object with slope and bias scaling, a
signed property value of s
, word length of w
,
slopeadjustmentfactor
, fixedexponent
, and
bias
.
T = numerictype(___,
allows you to set properties using name-value pairs. All properties that you do not specify
a value for are assigned their default values.Name,Value
)
T = numerictype(T1,
allows you to
make a copy, Name,Value
)T1
, of an existing numerictype
object,
T
, while modifying any or all of the property values.
T = numerictype('Double')
creates a numerictype
object of data type double.
T = numerictype('Single')
creates a numerictype
object of data type single.
T = numerictype('Half')
creates a numerictype
object of data type half.
T = numerictype('Boolean')
creates a numerictype
object of data type Boolean.