ufi
(Not recommended) Construct unsigned fixed-point numeric object
ufi
is not recommended. Use fi
instead.
Syntax
Description
is the default constructor and returns
an unsigned a
= ufifi
object with no value, 16-bit word length, and 15-bit
fraction length.
The fi
object created by the ufi
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 ufi
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 an
unsigned fixed-point object with value a
= ufi(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 an unsigned fixed-point object with value a
= ufi(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
| sfi
| fimath
| fipref
| isfimathlocal
| numerictype
| quantizer