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

3 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2015-12-17
vpa(sym('8.99999999999999'), 30),
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by