how to obtain maximum numbers after decimal point?

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

 Réponse acceptée

Walter Roberson
Walter Roberson le 15 Déc 2015

1 vote

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 commentaires

Sir, vpi command is not working in matlab and produce error.
What happens when you try it? Did you unzip the toolbox into an empty directory and use pathtool to add the directory to your MATLAB path?
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.
dear sir, my another query regarding is in following link regarding vpa and sym commands

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by