median function

2 次查看(过去 30 天)
john
john 2011-3-21
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 个评论
john
john 2011-3-21
ok it was median(mask(:)) what I was looking for.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by