import file with exponential numbers
Show older comments
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 Comments
Rik
on 17 May 2021
The file you attached is empty.
If you use split on this text you can use str2double to read this list to a Matlab array.
Day Hong Kim
on 17 May 2021
Edited: Day Hong Kim
on 17 May 2021
Accepted Answer
More Answers (1)
Monika Jaskolka
on 17 May 2021
Edited: Monika Jaskolka
on 17 May 2021
1 Comment
Day Hong Kim
on 17 May 2021
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!