Info
This question is closed. Reopen it to edit or answer.
To obtain the value of y in more precision, This problem has result for n<=922, but I want to get the result for n>922. looking for another way takes less time and more degree of precision similar to sym or vpa, this takes many days for my program
1 view (last 30 days)
Show older comments
example:
x=0.2147
n=?;
y=vpa((x^(n/2)+x^(-n/2)/2)^(-2/n))
x=sym(0.2147,'r');
n=950;
y=vpa((x^(n/2)+x^(-n/2)/2)^(-2/n))
=~0.2150
3 Comments
Walter Roberson
on 24 Feb 2013
sym / vpa is likely to be as accurate as you might hope, especially if you set Digits to 16.
Remember to
format long g
before running the computation, in order to see the result in fuller precision.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!