フィルターのクリア

How to save a matrix as text file using "save" without scientific notation?

14 ビュー (過去 30 日間)
Jing Ci Neo
Jing Ci Neo 2019 年 4 月 7 日
コメント済み: Jing Ci Neo 2019 年 4 月 7 日
I tried saving my matrix using save('myMat.txt','myMat','-ascii') but it saves a text file of numbers in scientific notation such as -1.2176930e+02 3.8083200e+01
How can I get it to save it like
-121.76930 38.083200?

採用された回答

madhan ravi
madhan ravi 2019 年 4 月 7 日
Use dlmwrite() with precision

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by