Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
moving median filter

Subject: moving median filter

From: Wendy

Date: 20 Sep, 2011 17:57:10

Message: 1 of 2

Hi all,

I would like to smooth a dataset of 2080 data points using the moving median smoothing method. However, the "smooth" function in Matlab only has moving average. I am wondering if Matlab has another function for moving median smoothing.

Thank you in advance,
Wendy

Subject: moving median filter

From: Wayne King

Date: 20 Sep, 2011 18:11:28

Message: 2 of 2

"Wendy " <wlq121@gmail.com> wrote in message <j5ak5m$qrq$1@newscl01ah.mathworks.com>...
> Hi all,
>
> I would like to smooth a dataset of 2080 data points using the moving median smoothing method. However, the "smooth" function in Matlab only has moving average. I am wondering if Matlab has another function for moving median smoothing.
>
> Thank you in advance,
> Wendy

Hi Wendy, do you have the Signal Processing Toolbox? If so, please see the reference page for medfilt1.

Wayne

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us