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!