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

1 visualizzazione (ultimi 30 giorni)
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"

Risposte (1)

Walter Roberson
Walter Roberson il 18 Ott 2018
dlmwrite supports a Precision option that can be a fprintf format item such as %.16f
  3 Commenti
abdullah alzaqebah
abdullah alzaqebah il 19 Ott 2018
my solution is export the matrix as .arff instead of .dat file to deal with it using weka

Accedi per commentare.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by