median function

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

Tags

Asked:

on 21 Mar 2011

Community Treasure Hunt

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

Start Hunting!