Increase MATLAB precision without using vpa or sym
조회 수: 7 (최근 30일)
이전 댓글 표시
Is there any way to increase MATLAB's precision (E-16) without using vpa or sym? This is, without modifying the existing code?
댓글 수: 0
답변 (1개)
John D'Errico
2018년 4월 24일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numbers and Precision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!