How can I smooth out this data?

I have two row vectors with 200 columns. If I plot them I get a zigzag graph. I want to get a graph that is as linear as possible. How can I do this?

Respuestas (1)

Star Strider
Star Strider el 4 de En. de 2021

0 votos

I have no idea what result you want.
One option would be the smoothdata function.

4 comentarios

SIMONE PARENTELA
SIMONE PARENTELA el 4 de En. de 2021
something like this
Star Strider
Star Strider el 4 de En. de 2021
Is that the result you want, or the result you got from smoothdata?
If it is the result you want, then experiment with the smoothdata arguments until you approximate it. The 'sgolay' method can probably do that.
SIMONE PARENTELA
SIMONE PARENTELA el 4 de En. de 2021
that is what I want
Star Strider
Star Strider el 4 de En. de 2021
I do not have your data, so you will have to experiment with smoothdata to get that result.

Iniciar sesión para comentar.

Categorías

Más información sobre Discrete Data Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 4 de En. de 2021

Comentada:

el 4 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by