Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to read a file in matrix

2 views (last 30 days)
suganya s
suganya s on 20 Aug 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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?????

Answers (1)

Walter Roberson
Walter Roberson on 20 Aug 2015
The values are not changed. Give the command
format long g
and display the output again.

This question is closed.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!