Using smoothing techniques plot graph.

10 Ansichten (letzte 30 Tage)
Hasan Berke Bankoglu
Hasan Berke Bankoglu am 23 Mai 2020
Kommentiert: Ameer Hamza am 24 Mai 2020
I have a problem submitted below. How to plot that graph? I can't graph it. I could get wrong graphs.

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 23 Mai 2020
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 Kommentare
Hasan Berke Bankoglu
Hasan Berke Bankoglu am 23 Mai 2020
Bearbeitet: Hasan Berke Bankoglu am 23 Mai 2020
Thank you, it's work.
Ameer Hamza
Ameer Hamza am 24 Mai 2020
I am glad to be of help!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Smoothing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by