how to take mean of matrices stored in .xlsx format?

조회 수: 1 (최근 30일)
Huma Naeem
Huma Naeem 2021년 6월 12일
답변: Sulaymon Eshkabilov 2021년 6월 12일
Hi
I have 18 matrices of size 421*281 stored in excel(.xlsx format). first I want to load all these 18 excel files in matlab and then i want to take mean of 18 matrices to get average matrix of 421*281. what should be the code for this? any help would be highly appreciated
Regards

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 6월 12일
Start with data import: readtable() or xlsread()
Compute the averages using mean() or mean2() whether you want to compute the average of column//row or the whole table of data.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by