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 Kommentar

john
john am 21 Mär. 2011
ok it was median(mask(:)) what I was looking for.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

am 21 Mär. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by