how to obtain maximum numbers after decimal point?

12 views (last 30 days)
hi
in calculation, my problem needs at least 20 to 30 digits after decimal point for e.g (1.234567898745612321654645454875) for perfect answer. but in matlab using "format long" i just get 15 digits after decimal. is there any way to get values upto 20 to 30 digits after decimal point. kindly help me i will be highly thankful to you
With best Regards Mudasir

Accepted Answer

Walter Roberson
Walter Roberson on 15 Dec 2015
No there is not. You will need to use the symbolic toolbox or one of John D'errico Variable Precision toolbox contributions to the File Exchange.
  5 Comments
Mudasir Ahmed
Mudasir Ahmed on 17 Dec 2015
Dear Sir,
I unzip the folder and give path by SET PATH option but it still give error like Undefined function 'vpi' for input arguments of type 'double'.
sir my program require at least 20 to 30 digits after decimal without this precision i cannot do any thing useful with my code.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!