dlmread shows incorrect data after using disp
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
john ult
am 16 Mär. 2019
Kommentiert: john ult
am 16 Mär. 2019
Hi,
I'm still learning and currently going through a problem with dlmread . It seems like it does read my text properly.
My data.txt contains :
2019 3 3 2 58 1.5 2.6
Note: it has multiple similar lines for previous years.
my program :
B = dlmread('data.txt');
disp(B);
Getting this output :
1.0e+03 *
2.0100 0.0030 0.0030 0.0020 0.0580 0.0015 0.0026
Is this working as expected? Is it possible to show the original data in the output " 2019 3 3 2 58 1.5 2.6"?
Thanks for the help the guys in advanced
Regards,
John
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!