how to store matlab results in long precision
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am working with long precision values... after performing arithmetic division operation matlab is giving the rounded up result but i need to store the exact long precision value..
0 Kommentare
Antworten (1)
Sean de Wolski
am 6 Mai 2011
as long as
class(your_result)
is 'double' it is long.
4 Kommentare
Matt Tearle
am 6 Mai 2011
or use something like fprintf('%16.13f',x) to see the result to whatever precision you want.
Siehe auch
Kategorien
Mehr zu Logical 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!