Problem 2235. Back to basics - mean of corner elements of a matrix
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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers454
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9121 Solvers
-
Return unique values without sorting
994 Solvers
-
Flip the main diagonal of a matrix
899 Solvers
-
1176 Solvers
-
Sum the numbers on the main diagonal
609 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!