Cody

Problem 2235. Back to basics - mean of corner elements of a matrix

Created by Swapnali Gujar in Community

Calculate the mean of corner elements of a matrix.

e.g. a=[1 2 3; 4 5 6; 7 8 9;]

Mean = (1+3+7+9)/4 = 5

Solution Stats

57.88% Correct | 42.12% Incorrect
Last solution submitted on Jul 04, 2019