Symbolic Math Toolbox
 Go to function:
  Search    Help Desk 
vpa ExamplesSee Also

Variable precision arithmetic.

Syntax

Description

vpa(A) uses variable-precision arithmetic (VPA) to compute each element of A to d decimal digits of accuracy, where d is the current setting of digits. Each element of the result is a symbolic expression.

vpa(A,d) uses d digits, instead of the current setting of digits.

Examples

The statements

return

vpa pi 75 computes to 75 digits.

The statements

return

See Also

digits, double

[ Previous | Help Desk | Next ]