calculate average column in multiple files

1 visualizzazione (ultimi 30 giorni)
I have 10 .xls files (name file1.xls, file2.xls...) in a folder, each has 10 columns (Ai, Bi, Ci,...). Now I want to create one .xls file that calculate average of column A, B, C... (A=A1+A2+...+A10/10); (B=B1+B2+...+B10)......
A1, A2, A3 ... A10 have various length as well as Bi, Ci, Di......
example (attached)

Risposta accettata

madhan ravi
madhan ravi il 16 Gen 2019
  1 Commento
viet le
viet le il 16 Gen 2019
Modificato: viet le il 16 Gen 2019
thanks. but I was wondering how to import just one column

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by