how to store matlab results in long precision
조회 수: 1 (최근 30일)
이전 댓글 표시
I am working with long precision values... after performing arithmetic division operation matlab is giving the rounded up result but i need to store the exact long precision value..
댓글 수: 0
답변 (1개)
Sean de Wolski
2011년 5월 6일
as long as
class(your_result)
is 'double' it is long.
댓글 수: 4
Matt Tearle
2011년 5월 6일
or use something like fprintf('%16.13f',x) to see the result to whatever precision you want.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!