Info
This question is closed. Reopen it to edit or answer.
how to read a file in matrix
1 view (last 30 days)
Show older comments
i use the following command to read the file in matrix
d=importdata('Z:\dataset\cjp\RawData\1_20114119324_logfile.txt')
but ans is
d = 1.0e+009 *
0.0000 0.0000 0.0000 1.2527
0.0000 0.0000 0.0000 1.2527
0.0000 0.0000 0.0000 1.2527
0.0000 0.0000 0.0000 1.2527
0.0000 0.0000 0.0000 1.2527
0.0000 0.0000 0.0000 1.2527
.
.
.
why the value changed?????
0 Comments
Answers (1)
Walter Roberson
on 20 Aug 2015
The values are not changed. Give the command
format long g
and display the output again.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!