title: Matlab Median Filter Code
body: <p>I am required to implement median filtering in MATLAB for images. However, I'm <strong>not allowed</strong> to use the <code>medfilt2</code> or <code>ordfilt2</code> functions in MATLAB.  We also have recently started learning MATLAB.</p>
  
  <p>Is there any code available for the median filter or Gaussian filter available?  </p>