Is There a Command in MATLAB Like WorkingPrecision in MATHEMATICA?
조회 수: 3 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (2개)
Bora Eryilmaz
2022년 12월 14일
편집: Bora Eryilmaz
2022년 12월 14일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!