averaging data set in horizontal as well as vertical direction

suppose we have large no of data..like
1 2 3 4 5 6 7 3 4 5 6 7
3 4 5 6 7 8 3 4 2 4 2 4
1 5 4 2 3 5 4 5 6 5 2 3
1 2 3 4 5 6 7 3 4 5 6 7
3 4 5 6 7 8 3 4 2 4 2 4..
the average in both direction like
1 2 3 4
3 4 5 6
1 5
1 2
average of above set like ...so that we can convert 1024*1024 file into 512*512..

3 commentaires

Not clear , illustrate with a 4 X 4 matrix and explicitly state your desired output.
@Chandan Kumar: You lost your chance of getting future help in this community.Good luck with your beautiful editing.
(Answers Dev) Restored edit

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by