Text File Read Matlab

3 Ansichten (letzte 30 Tage)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan am 6 Apr. 2021
Kommentiert: Walter Roberson am 7 Apr. 2021
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 Kommentare
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan am 7 Apr. 2021
@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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 7 Apr. 2021
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by