how to read a file in matrix

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?????

Réponses (1)

Walter Roberson
Walter Roberson le 20 Août 2015

0 votes

The values are not changed. Give the command
format long g
and display the output again.

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Question posée :

le 20 Août 2015

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by