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!