Using smoothing techniques plot graph.

10 ビュー (過去 30 日間)
Hasan Berke Bankoglu
Hasan Berke Bankoglu 2020 年 5 月 23 日
コメント済み: Ameer Hamza 2020 年 5 月 24 日
I have a problem submitted below. How to plot that graph? I can't graph it. I could get wrong graphs.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 5 月 23 日
This is a moving average filter. You can use movmean(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/movmean.html with 'EndPoints' option set to 'discard'
movmean(y, 3, 'Endpoints', 'discard') % first filter
movmean(y, 5, 'Endpoints', 'discard') % Second filter
  2 件のコメント
Hasan Berke Bankoglu
Hasan Berke Bankoglu 2020 年 5 月 23 日
編集済み: Hasan Berke Bankoglu 2020 年 5 月 23 日
Thank you, it's work.
Ameer Hamza
Ameer Hamza 2020 年 5 月 24 日
I am glad to be of help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSmoothing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by