I use dlmwrite to write a matrix into a .txt file. If I then use dlmread to take these values from the file and compare this matrix with the original matrix, the values are not exactly the same, i.e., the accuracy of the floating digits is lost. Is there a way to exactly store the matrix values? Thanks in advance.
MATLAB: Are the values I write into a file are not the same as what I read from it
file readingfile writing
Related Question
- Problem about Output in a txt file?How to solve it
- How to use fprintf in Matlab R2016a
- I am unable to create a text file on matlab 2013a.The value in variable ‘errmsg’ is ‘Permission denied’.Usage of other permissions like w+,a,A,W also gives the same result.The only permissions working are ‘r’ and ‘r+’. How to solve this problem
- How to export numerical values to ASCII format
- Writing text file
Best Answer