How to create moving average filter in tide data?
2 次查看(过去 30 天)
显示 更早的评论
Hi... my name is fahrul. I try to filtering for smoothing my data in format file txt. In this file, there are 3 coloumns. first is date, second is time and the last coloumn is value of tide. I used two coloumns data, date and velue only to plot in matlab. Anybody can help me to make syntax filtering by using moving average??
0 个评论
采纳的回答
Michael Haderlein
2015-4-7
If data is the array with your values and t is date/time:
plot(t, smooth(data));
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oceanography and Hydrology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!