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

10 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by