single type

single


Converts a variable to single precision type.


Syntax


S = single(V)

Input argument


V

a variable.

Output argument


S

a single.

Description


single(V) converts to the single-precision type.

Examples


single('Nelson')

A = single(pi)

See also


char, double.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

single type