How to do a boxcar smoothing in mathlab ?

i have a range of equally spaced data (say an altitude profile of temperature with 5meter resolution). i need to do a boxcar smoothing of this data (need to apply a 100meter boxcar smoothing). how i will do it in matlab ?

Réponses (4)

You can easily employ the following data filtering fcns:
doc smooth
doc filter
doc conv
https://www.mathworks.com/help/curvefit/smoothing-data.html
and 3rd party fcns, e.g:
https://www.mathworks.com/matlabcentral/fileexchange/19998-fast-smoothing-function

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by