필터 지우기
필터 지우기

how to store matlab results in long precision

조회 수: 1 (최근 30일)
Basanta
Basanta 2011년 5월 6일
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..

답변 (1개)

Sean de Wolski
Sean de Wolski 2011년 5월 6일
as long as
class(your_result)
is 'double' it is long.
  댓글 수: 4
Matt Tearle
Matt Tearle 2011년 5월 6일
or use something like fprintf('%16.13f',x) to see the result to whatever precision you want.
Basanta
Basanta 2011년 5월 7일
got it....Thank u..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by