Using smoothing techniques plot graph.

조회 수: 8 (최근 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 CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by