how to convert matrix contains exponential notation like 1.0361e+03 to generic one.

2 vues (au cours des 30 derniers jours)
how to convert matrix contains exponential notation like 1.0361e+03 to generic one. i have matrix and i want to save it as .dat file but the command write file with same format 1.0361e+03 i want to save it as generic number without "e"

Réponses (1)

Walter Roberson
Walter Roberson le 18 Oct 2018
dlmwrite supports a Precision option that can be a fprintf format item such as %.16f
  3 commentaires
madhan ravi
madhan ravi le 19 Oct 2018
What’s your solution @abdullah?
abdullah alzaqebah
abdullah alzaqebah le 19 Oct 2018
my solution is export the matrix as .arff instead of .dat file to deal with it using weka

Connectez-vous pour commenter.

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox 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