Reading an Array in scientific notation from a txt
古いコメントを表示
Hi, I am trying to read the data from a txt file but I have been so far unable to manage to extract it using fscanf or textread.
the file is formatted as follows:
"Title1"
"Title2"
1.00000e-03 4.36579e-02
2.00000e-03 -8.85146e-02
3.00000e-03 -8.97553e-02
4.00000e-03 -7.65414e-02
5.00000e-03 -5.80485e-02
6.00000e-03 -4.28242e-02
7.00000e-03 -2.93374e-02
I am unable to read the numbers from the same line separately, and interpret them as numbers. Any help? Thanks!
1 件のコメント
per isakson
2015 年 5 月 27 日
Did you try importdata?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Text Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!