|
|
Moving average to smooth 2D data
hi, all
I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only can be used to smooth (1 Dimensional ) one column or one row of values. as shown in the equation.
ys(i)=(y(i+N)+y(i+N-1)+...+y(i-N))/(2N+1)
as presented here:
http://www.mathworks.com/help/toolbox/curvefit/bq_6yqb.html
but the figure (a, b, c, d) for moving average filtering looks like that it smooths every point in x and y.
I hope my question is made clearly .
thanks
|
|
0
|
|
|
|
Reply
|
zheng
|
1/19/2011 7:41:07 PM |
|
"zheng " <fiendniu2003@hotmail.com> wrote in message <ih7eoj$66c$1@fred.mathworks.com>...
> hi, all
> I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only can be used to smooth (1 Dimensional ) one column or one row of values. as shown in the equation.
> ys(i)=(y(i+N)+y(i+N-1)+...+y(i-N))/(2N+1)
> as presented here:
> http://www.mathworks.com/help/toolbox/curvefit/bq_6yqb.html
> but the figure (a, b, c, d) for moving average filtering looks like that it smooths every point in x and y.
>
> I hope my question is made clearly .
>
> thanks
conv2(your_image,ones(3)./9,'same');
Will calculate the average of your_image and 8-connected neighbors. Extend it as you need.
|
|
1
|
|
|
|
Reply
|
Sean
|
1/19/2011 7:54:06 PM
|
|
Sean de
Thanks for replying.
my purpose is to use moving average to smooth a group of points which each point has x and y.
that is why I want to know does the moving average in curve fitting toolbox can implement this?
|
|
0
|
|
|
|
Reply
|
zheng
|
1/19/2011 8:05:05 PM
|
|
|
2 Replies
1015 Views
(page loaded in 0.041 seconds)
Similiar Articles: Moving average to smooth 2D data - comp.soft-sys.matlabhi, all I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only can be used to smooth (1 Dimensiona... Smoothing image data - comp.soft-sys.matlabMoving average to smooth 2D data - comp.soft-sys.matlab Smoothing image data - comp.soft-sys.matlab Moving average to smooth 2D data - comp.soft-sys.matlab Moving average ... please help me on interpolating for irregular grid data - comp ...Moving average to smooth 2D data - comp.soft-sys.matlab... algorithm - comp.unix.programmer... neighbors of the input (x,y,z), and return a weighted average of ... please ... Exponential Moving Average without For Loop - comp.soft-sys.matlab ...Moving average to smooth 2D data - comp.soft-sys.matlab Exponential Moving Average without For Loop - comp.soft-sys.matlab ... Hello, I am trying to ... the free ... Average of matrix - comp.soft-sys.matlab2D interpolation with 3D matrix? - comp.soft-sys.matlab Moving average to smooth 2D data - comp.soft-sys.matlab 2D interpolation with 3D matrix? - comp.soft-sys.matlab ... Average Every N rows in a Matrix - comp.soft-sys.matlabMoving average to smooth 2D data - comp.soft-sys.matlab... one column or one row of values. as shown in the equation. ys(i)=(y(i+N ... d) for moving average filtering ... masked max (without a for loop) - comp.soft-sys.matlabMoving average to smooth 2D data - comp.soft-sys.matlab masked max (without a for loop) - comp.soft-sys.matlab Exponential Moving Average without For Loop - comp.soft-sys ... Savitzky-Golay filtering and endpoint issues - comp.soft-sys ...Moving average to smooth 2D data - comp.soft-sys.matlab hi, all I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only ... How to find the peaks in a 2D map? - comp.soft-sys.matlab ...... Window - comp.soft-sys.matlab----- Are you asking how you FIND the 3 peaks? Or (knowing where they are already) how you zero ... Moving average to smooth 2D data - comp ... Using loops to find an average - comp.soft-sys.matlabMoving average to smooth 2D data - comp.soft-sys.matlab Using loops to find an average - comp.soft-sys.matlab Exponential Moving Average without For Loop - comp.soft-sys ... Moving average to smooth 2D data - comp.soft-sys.matlab | Computer ...hi, all I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only can be used to smooth (1 Dimensiona... Moving average to smooth 2D data - Newsreader - MATLAB Centralhi, all I just went through the help for Moving Average filtering. Based on my understanding, the algorithm only can be used to smooth (1 Dimensional ) one column or ... 7/23/2012 6:30:43 AM
|
|
|
|
|
|
|
|
|