how to obtain maximum numbers after decimal point?

12 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 15 Dic 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 Commenti
Mudasir Ahmed
Mudasir Ahmed il 17 Dic 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by