Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to read a file in matrix

1 vue (au cours des 30 derniers jours)
suganya s
suganya s le 20 Août 2015
Clôturé : MATLAB Answer Bot le 20 Août 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?????

Réponses (1)

Walter Roberson
Walter Roberson le 20 Août 2015
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.

Community Treasure Hunt

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

Start Hunting!

Translated by