Importing a set of files, extracting individual average of certain variables and exporting them to excel

1 visualizzazione (ultimi 30 giorni)
Hello,
I have a set of .dat files from which i need to extract few variables and find the individual average for them and export to excel. I need these dat files to be processed in a loop based on the file name and do the rest of the calculations as mentoined above. I am new to Matlab and can somebody help me in creating a function for this?
Many thanks in advance for your help.
  1 Commento
dpb
dpb il 31 Lug 2019
There are many examples of processing files in a loop available--what have you tried?
Specific example code is under the import data topic under text files...

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by