hello. why neper number in matlab and neper number in wikipedia with address (http://en.wikipedia.org/wiki/E_(mathematical_costant)) up to 15 decimal places is the same and than 15 different next? which one is correct?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Akzeptierte Antwort
John D'Errico
am 21 Nov. 2015
MATLAB uses double precision, so roughly 16 significant digits.
format long g
exp(1)
ans =
2.71828182845905
vpa(exp(sym(1)),100)
ans =
2.718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525166427
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Elementary Math finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

