Convert to double precision
double(x)
double(x) returns the double-precision value for X. If X is already a double-precision array, double has no effect.
X
double
collapse all
This function fully supports tall arrays. For more information, see Tall Arrays.
The double function can be overloaded for any object when it makes sense to convert it to a double-precision value.
cast | single | str2double | typecast
cast
single
str2double
typecast