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 Comments

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.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 3 Apr 2019

Commented:

on 11 Apr 2019

Community Treasure Hunt

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

Start Hunting!