Median

Parent Previous Next

Median


Median value


Syntax


median(x)

x is a real row/column vector

Return median value of x


Example


Input

Output

x = rand(10)

median(x)


See Also


Created with the Personal Edition of HelpNDoc: Free Kindle producer