Borrar filtros
Borrar filtros

Increase MATLAB precision without using vpa or sym

7 visualizaciones (últimos 30 días)
carlos g
carlos g el 24 de Abr. de 2018
Respondida: John D'Errico el 24 de Abr. de 2018
Is there any way to increase MATLAB's precision (E-16) without using vpa or sym? This is, without modifying the existing code?

Respuestas (1)

John D'Errico
John D'Errico el 24 de Abr. de 2018
No.
Well, you could use my HPF toolbox, but that too would require mods to your code.
You cannot simply tell MATLAB to use a higher precision. Double precision is all you get. If you need more than that, then you need to use tools that can give you higher precision. Or learn to write code that does not need higher precision. That is the stuff of numerical analysis courses and textbooks, of much of applied mathematics.

Categorías

Más información sobre Numbers and Precision en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by