Importing arbitrary assymetric matrix
1 view (last 30 days)
Show older comments
Hello,
I need to import data from a file like that in Matlab
825.077985928 , 803.976586577 , 7.94328234724E+6
746.602923264 , 746.380023451 , 8.91250938134E+6
669.973486472 , 685.594867998 , 1.E+7
608.553696091 , 622.808380226 , 1.1220184543E+7
535.301644385 , 564.919488252 , 1.25892541179E+7
0 0 3.8 2 0 0 0 0 .1 .1 5 5 4 4 20 14 142 13 Sep 1900 10:24:07 519 LSGM 1 AG 0 100 0 0 0 0 5 0 0000 ¯Z'(E4 ) ¯Z"(E4 ) 13.49+25
I have tried to use many functions of matlab, therefore it have not worked! I would be very grateful if anyone could help me.
Thanks in advance!
0 Comments
Answers (2)
Walter Roberson
on 15 Oct 2013
Which parts are always the same length and which parts are variable length?
MATLAB does not offer any tools to automatically import files that have different input formats for different lines. The more the lengths are fixed and the formats are fixed, the easier it is to work with the existing tools.
See Also
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!