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

2 visualizaciones (últimos 30 días)
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"

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by