calculate average column in multiple files

조회 수: 1 (최근 30일)
viet le
viet le 2019년 1월 16일
편집: viet le 2019년 1월 17일
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)

채택된 답변

madhan ravi
madhan ravi 2019년 1월 16일
  댓글 수: 1
viet le
viet le 2019년 1월 16일
편집: viet le 2019년 1월 16일
thanks. but I was wondering how to import just one column

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by