sfi
(Not recommended) Construct signed fixed-point numeric object
sfi is not recommended. Use fi instead.
Syntax
Description
is the default constructor and returns
a signed a = sfifi object with no value, 16-bit word length, and 15-bit fraction
length.
The fi object created by the sfi constructor
function has data properties, fimath properties, and
numerictype properties. These properties are described in detail in
fi Properties, fimath Properties and numerictype Properties.
The fi object created by the sfi constructor
function has no local fimath object. You can attach a
fimath object to that fi object if you do not want
to use the default fimath settings. For more information, see fimath Object Construction.
returns a
signed fixed-point object with value a = sfi(v)v, 16-bit word length, and
best-precision fraction length. Best-precision is when the fraction length is set
automatically to accommodate the value v for the given word
length.
returns a signed fixed-point object with value a = sfi(v,w,slopeadjustmentfactor,fixedexponent,bias)v, word length
w, slopeadjustmentfactor,
fixedexponent, and bias.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2009b
See Also
fi | fimath | fipref | isfimathlocal | numerictype | quantizer | ufi