median function

2 views (last 30 days)
john
john on 21 Mar 2011
Hello,
I use a mask of 3x3 and I want to get the median value of this mask. Is there any function to get this value except from median() function, which returns a vector of the median values of an array?
Thanks
  1 Comment
john
john on 21 Mar 2011
ok it was median(mask(:)) what I was looking for.

Sign in to comment.

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!