how to get precision value upto 20 to 30 digits after decimal?

hi
i want to get numbers upto 20 to 30 digits after decimal point. when i use sym or vpa command for said problem in a particular case like
vpa(8.99999999999999),
it results in
9
but i need value in precision not in round off figure. how i can solve this. kindly help me i will be highly thankful to you for this act of kindness|
with best Regards
Mudasir Ahmed

 Risposta accettata

vpa(sym('8.99999999999999'), 30),

3 Commenti

Dear sir,
Vpa instruction consume much more time to calculate value in large iterations, is there any command who give swift response for said problem.
okay, and Thank you you so much sir :)

Accedi per commentare.

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by