2020年12月19日星期六

The format type of reading a matrix from a file?

I saved a matrix in a file.txt; the type of matrix is as follow:

file: 0.010993,0.21973,0.012142,0.49897,0.24634,0.01183   

When I open the matrix by using

Matrix= dlmread( 'File.txt') ) ;  

The matlab take only 4 number after the point, where Matrix:

Matrix: 0.0110    0.2197    0.0121    0.4990    0.2463    0.0118  

I don't want to change the numbers after the matrix.

https://stackoverflow.com/questions/65375739/the-format-type-of-reading-a-matrix-from-a-file December 20, 2020 at 08:10AM

没有评论:

发表评论