How to create moving average filter in tide data?

1 回表示 (過去 30 日間)
fahrulian fahrulian
fahrulian fahrulian 2015 年 4 月 7 日
回答済み: Michael Haderlein 2015 年 4 月 7 日
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??

採用された回答

Michael Haderlein
Michael Haderlein 2015 年 4 月 7 日
If data is the array with your values and t is date/time:
plot(t, smooth(data));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOceanography and Hydrology についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by