Problem 56155. Return the middle element of an NxN square matrix where N is odd
Solution Stats
Problem Comments
-
1 Comment
Christian Schröder
on 11 Nov 2022
The problem description doesn't match the test suite --- the input matrix can in fact be non-square.
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
Remove all the words that end with "ain"
1967 Solvers
-
Flip the main diagonal of a matrix
759 Solvers
-
Getting the indices from a matrix
592 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
356 Solvers
-
Sum the 'edge' values of a matrix
315 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!