フィルターのクリア

To extract data from file

1 回表示 (過去 30 日間)
E R SH RAJ Male
E R SH RAJ Male 2016 年 5 月 1 日
コメント済み: Azzi Abdelmalek 2016 年 5 月 1 日
I have written code to extract data from txt file.The extracted data values are not same. Attached is code as well as file. I shall be thankful if someone would help me out. Thanks

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 1 日
a=importdata('Run5.txt',' ',2)
out=a.data
  2 件のコメント
E R SH RAJ Male
E R SH RAJ Male 2016 年 5 月 1 日
Out put is required in one column
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 1 日
Your text file shows multiple columns, if you want one column, use reshape function, or
out=out(:)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLarge Files and Big Data についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by