Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Reading data from text file
1 回表示 (過去 30 日間)
古いコメントを表示
14 3 10 0 0 0.0000000 0 10G23G
-8457358.99847 -6354976.40646 23724268.7484 23724276.1674 23724268.796
46.0004 41.0004
-18653321.28149 -14517343.77248 20846096.1784 20846105.0924 20846095.986
56.0004 51.0004
I have the above text file where the data from (-8457358.99847 to 41.0004) corresponds to the data of number '10G' present in the first line and the data from (-18653321.28149 to 51.0004) corresponds to the data of number '23G' present in the first line. This is only a portion of the text file.
I want to store the data in a structure so that I can used them for my other computation. Please kindly advice how can I read and store the data from the text file.
Thanks,
Swarnava Pramanik
1 件のコメント
Stephen23
2015 年 4 月 6 日
編集済み: Stephen23
2015 年 4 月 6 日
It would be much more reliable if you simply uploaded the textfile, and we could try it out ourselves. You can edit your question and upload the data file using the paperclip button.
You say that "This is only a portion of the text file", and so it would be very useful to know what the complete file looks like. Please upload it.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!