single dimension array smoothing
single dimension array smoothing
(OP)
does anyone know of a quick way that I can smooth a line graph ?
thanks
thanks
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
single dimension array smoothing
|
RE: single dimension array smoothing
b=ones(1,n)/n;
smoothed=filter(b,1,rough);
n is the length of your moving average window.
RE: single dimension array smoothing
the only thing I found is that it shifts the data a bit. but that's not really a problem.
Thanks