import file with exponential numbers
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello all, hope you having a great day. I am trying to import the file filled with exponential numbers. Is there a function to import such data or do I need to put proper data spec to read the file? I attached the file fyi. Below is just the part of the file.
0.12906E+02 0.14317E+02 0.88397E+01 0.34394E+01 -0.44398E+01 -0.10266E+02
-0.12585E+02 -0.11425E+02 -0.71798E+01 -0.13563E+00 0.65529E+01 0.10236E+02
0.12218E+02 0.11005E+02 0.83890E+01 0.29082E+01 -0.48280E+01 -0.10441E+02
-0.12556E+02 -0.11418E+02 -0.65793E+01 -0.10231E+01 0.68138E+01 0.10930E+02
0.10841E+02 0.10579E+02 0.75920E+01 0.18988E+01 -0.47565E+01 -0.10717E+02
-0.12586E+02 -0.11715E+02 -0.71195E+01 -0.10548E+01 0.53404E+01 0.97314E+01
0.13372E+02 0.11455E+02 0.88030E+01 0.29380E+01 -0.40503E+01 -0.10190E+02
-0.12504E+02 -0.11302E+02 -0.70396E+01 -0.26535E+00 0.70146E+01 0.10111E+02
0.12237E+02 0.11866E+02 0.72969E+01 0.32354E+01 -0.40348E+01 -0.10136E+02
-0.12563E+02 -0.11747E+02 -0.70156E+01 -0.18686E+00 0.54810E+01 0.10231E+02
3 commentaires
Réponse acceptée
Stephen23
le 17 Mai 2021
You are making this far more complex than it needs to be:
M = readmatrix('1.txt')
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Large Files and Big Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!