main content

numbers and precision -凯发k8网页登录

variable-precision arithmetic and elementary number-theoretic operations

the symbolic math toolbox™ can perform numeric calculations with variable precision by using . for details, see . to understand when to use symbolic, variable-precision, or double-precision arithmetic, see . the symbolic math toolbox also provides functions for rounding operations and for working with complex numbers.

functions

change variable precision used
convert symbolic values to matlab double precision
variable-precision arithmetic (arbitrary-precision arithmetic)
numerical integration using variable precision
solve symbolic equations numerically
numerical summation using variable precision
imaginary part of complex number
real part of complex number
convert symbolic integer in decimal to binary representation
convert symbolic integer in decimal to hexadecimal representation

topics


  • compare and contrast double-precision, variable-precision, and symbolic arithmetic.


  • convert floating-point numbers to exact symbolic numbers.


  • increase precision arbitrarily with variable-precision arithmetic.


  • round-off errors in symbolic and variable-precision calculations.


  • increase speed of calculations by reducing precision of calculations.

网站地图