smoothing unevenly spaced data

10 ビュー (過去 30 日間)
Nicolas
Nicolas 2013 年 2 月 28 日
Hi guys,
I have two datasets. The first dataset is a time series that spans 10,000 years and it is evenly spaced in 20-year intervals. To remove some of the noise, I applied a 200-year running mean; pretty straightforward.
My second dataset is another time series that spans the same 10,000 years, however, these data are unevenly spaced. Ideally I would like to also apply a 200-year running mean to this dataset. I am at a complete loss on how to make this happen with an unevenly spaced dataset.
Any suggestions?
I'm also a pretty new Matlab user.
Thanks for your help.

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2013 年 2 月 28 日
when you say unevenly spaced, do you have the time information?
You can try resample them using some interpolation method:

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by