how to obtain maximum numbers after decimal point?

조회 수: 12 (최근 30일)
Mudasir Ahmed
Mudasir Ahmed 2015년 12월 15일
댓글: Mudasir Ahmed 2015년 12월 17일
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

채택된 답변

Walter Roberson
Walter Roberson 2015년 12월 15일
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
Mudasir Ahmed
Mudasir Ahmed 2015년 12월 17일
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.
Mudasir Ahmed
Mudasir Ahmed 2015년 12월 17일
dear sir, my another query regarding is in following link regarding vpa and sym commands

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by