how to smoothing a curve

I have a 1000 points data...how do we do the smoothing? something like moving average in mathematica???
I tried interpolation library i.e interpl(x,y,xi) but was getting the following error
###Error using ==> interpl at 43
###X data contains repeated values!
please help me remove this error and also guide me throught the method of smoothing the curve

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by