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

 Accepted Answer

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

3 Comments

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 :)

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!