Double-precision floating-point real-world value of
double(a) returns the real-world value
fi object in double-precision floating point.
Fixed-point numbers can be represented as
or, equivalently as
a = fi([-1 1],1,8,7); y = double(a) z = a.double
y = -1 0.9922 z = -1 0.9922
Usage notes and limitations:
For the automated workflow, do not use explicit double or single casts in your MATLAB® algorithm to insulate functions that do not support fixed-point data types. The automated conversion tool does not support these casts. Instead of using casts, supply a replacement function. For more information, see Function Replacements.