Using smoothing functions without incoorporating NaN/interpolating over NaN

1 次查看(过去 30 天)
Hi
I have a time series consisting of time and pairs of long and lat positions. Due to errors there are data gaps in my time series but i have filled them out with NaN so I now have a continuous time series for a whole year with positions every third hour. What I want to do is to smooth my data using one of the functions in matlab (currently a moving average), but when I do so and then plot my data there are no data gaps so i Guess that the function interpolate over my data gaps? Is that correct and if, can I make it not interpolate, caus I want the data gaps to still be there... I have attached a picture of my long/lat pairs before and after smoothing and as you can see there are data gaps present before the smoothing.... Any help would be lovely as I am new to matlab....

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by