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

2 Ansichten (letzte 30 Tage)
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"

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox 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!

Translated by