Using smoothing techniques plot graph.
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hasan Berke Bankoglu
el 23 de Mayo de 2020
Comentada: Ameer Hamza
el 24 de Mayo de 2020
I have a problem submitted below. How to plot that graph? I can't graph it. I could get wrong graphs.

0 comentarios
Respuesta aceptada
Ameer Hamza
el 23 de Mayo de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Smoothing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!