Is There a Command in MATLAB Like WorkingPrecision in MATHEMATICA?

2 visualizaciones (últimos 30 días)
Kareem Elgindy
Kareem Elgindy el 14 de Dic. de 2022
Respondida: BLP el 14 de Dic. de 2022
In MATHEMATICA, WorkingPrecision is an option for various numerical operations that specify the number of digits of precision that should be maintained in internal computations. Is there anything like it in MATLAB?
I am interested in running certain codes using a few significant digits maintained in internal computations like say 3 or 4 digits only, so is this possible?

Respuestas (2)

Bora Eryilmaz
Bora Eryilmaz el 14 de Dic. de 2022
Editada: Bora Eryilmaz el 14 de Dic. de 2022
Yes, if you have access to Symbolic Math Toolbox. See https://www.mathworks.com/help/symbolic/vpa.html. Otherwise, you will get double-precision math, which has about 16 digits accuracy.

BLP
BLP el 14 de Dic. de 2022

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by