Text File Read Matlab

3 ビュー (過去 30 日間)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan 2021 年 4 月 6 日
コメント済み: Walter Roberson 2021 年 4 月 7 日
Hello Folks!
I have 165 text files consist of the single column. I want to save 165 columns in matlab format so that I can take the means of the average score. Kindly guide me in this regard. Thaking in anticipation.
Truly,
Adeel
  5 件のコメント
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan 2021 年 4 月 7 日
@Walter Roberson Sir I have 165 text files in my directory, need to calculate the mean of each file and save in a matlab format. Kindly guide me in this regard. Thanking you in anticipation.
Walter Roberson
Walter Roberson 2021 年 4 月 7 日

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

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 4 月 7 日
Step 1. Data import from your txt file, e.g.: uiimport()
Step 2. Save imported data
Step 3. Compute the mean of the imported data using mean()
Step 4. Analyze and Report the results.
Good luck.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by