double

Convert to double precision

Syntax

double(x)

Description

double(x) returns the double-precision value for X. If X is already a double-precision array, double has no effect.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

Tips

The double function can be overloaded for any object when it makes sense to convert it to a double-precision value.

See Also

| | |

Introduced before R2006a

Was this topic helpful?