Median value calculation
Example 1: median value of a vector
A=
Example 2: median value of an array
A=
The size of the input matrix is:
X