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

1 回表示 (過去 30 日間)
abdullah alzaqebah
abdullah alzaqebah 2018 年 10 月 18 日
コメント済み: abdullah alzaqebah 2018 年 10 月 19 日
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"

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 10 月 18 日
dlmwrite supports a Precision option that can be a fprintf format item such as %.16f
  3 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 19 日
What’s your solution @abdullah?
abdullah alzaqebah
abdullah alzaqebah 2018 年 10 月 19 日
my solution is export the matrix as .arff instead of .dat file to deal with it using weka

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by