I want to increase calculations precision. I want to increase decimal point like 32. Is that possible?

3 views (last 30 days)
%for example
format long
a=[1.956272615279882 -0.142399812934086]
%this decimal point isn't enough for me (15).
%I want to produce like;
1.95627261527988211111111111111111 (32);
  4 Comments
Muthu Annamalai
Muthu Annamalai on 25 Jun 2013
Edited: Muthu Annamalai on 25 Jun 2013
Or if you only want to print more digits on the screen, you may just lookup
>> help format
>> format long
>> 1/pi
Alternatively if you want more high-precision calculations at risk of losing dynamic range @Walter recommendation should work. @James recommendation of Symbolic toolbox will also work, while being even slower than the fixed point.

Sign in to comment.

Accepted Answer

the cyclist
the cyclist on 20 Jul 2013
If you can formulate your problem to work with integers rather than floating point, then this free toolbox is great:

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!