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

1 view (last 30 days)
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

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 12 Jun 2021
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.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!