Single-precision floating-point real-world value of fi object
Syntax
single(a)
Description
Fixed-point numbers can be represented as
or, equivalently as
single(a) returns the real-world value
of a fi object in single-precision floating point.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
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.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.