Effacer les filtres
Effacer les filtres

how to store matlab results in long precision

1 vue (au cours des 30 derniers jours)
Basanta
Basanta le 6 Mai 2011
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..

Réponses (1)

Sean de Wolski
Sean de Wolski le 6 Mai 2011
as long as
class(your_result)
is 'double' it is long.
  4 commentaires
Matt Tearle
Matt Tearle le 6 Mai 2011
or use something like fprintf('%16.13f',x) to see the result to whatever precision you want.
Basanta
Basanta le 7 Mai 2011
got it....Thank u..

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by