MATLAB Function Reference Previous page   Next Page
double

Convert to double -precision

Syntax

Description

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

Remarks

double is called for the expressions in for, if, and while loops if the expression isn't already double-precision. double should be overloaded for any object when it makes sense to convert it to a double-precision value.


Previous page  dot dragrect Next page

© 1994-2005 The MathWorks, Inc.