Using smoothing functions without incoorporating NaN/interpolating over NaN
조회 수: 2 (최근 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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!