Export data from MATLAB to csv

I am trying to use matlab csvwrite to write an array to a csv file. However, Matlab writes data in a format such as 2.008e + 09. I do not want him to write in the form e + 09, but the whole number has expanded. How can i do this?

+6
source share
1 answer

csvwrite records a maximum of 5 significant digits.

Use dlmwrite :

 dlmwrite('test.csv',your_data, 'precision', 9) ; % 9 significant figures. 
+5
source

Source: https://habr.com/ru/post/952452/


All Articles