powered by
medianFilter(x, mrad, nrad)
mat <- matrix(1:25, nrow=5) mat medianFilter(mat, 1, 1)
Run the code above in your browser using DataLab