| Fixed-Point Toolbox™ | ![]() |
double(a)
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
![]()
or, equivalently,
![]()
The code
a = fi([-1 1],1,8,7); y = double(a) z = a.double
returns
y =
-1 0.9922
z =
-1 0.9922![]() | divide | end | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |