フィルターのクリア

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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by