主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

数字和精度

可变精度算术和初等数论运算

Symbolic Math Toolbox™ 可以使用 vpa 执行具有可变精度的数值计算。有关详细信息,请参阅Increase Precision of Numeric Calculations。要了解何时使用符号、可变精度或双精度算术,请参阅Choose Numeric or Symbolic Arithmetic。Symbolic Math Toolbox 还提供用于舍入运算以及处理复数的函数。

函数

全部展开

digitsChange variable precision used
doubleConvert symbolic values to MATLAB double precision
vpaVariable-precision arithmetic (arbitrary-precision arithmetic)
vpaintegralNumerical integration using variable precision
vpasolveSolve symbolic equations numerically
vpasumNumerical summation using variable precision
imagImaginary part of complex number
realReal part of complex number
dec2binConvert symbolic integer in decimal to binary representation
dec2hexConvert symbolic integer in decimal to hexadecimal representation

主题

精选示例