This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Double-precision floating-point real-world value of fi object




double(a) returns the real-world value of a fi object in double-precision floating point. double(a) is equivalent to a.double.

Fixed-point numbers can be represented as

real-world value=2fraction length×stored integer

or, equivalently as

real-world value=(slope×stored integer)+bias


The code

a = fi([-1 1],1,8,7);
y = double(a)
z = a.double


y =

           -1      0.9922
z =

           -1      0.9922

Extended Capabilities

See Also

Introduced before R2006a