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 ?

Answers (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

Products

Release

R2019a

Asked:

on 7 Jul 2021

Answered:

on 8 Nov 2024

Community Treasure Hunt

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

Start Hunting!