Smooth noisy data.

2 visualizaciones (últimos 30 días)
Riddhesh
Riddhesh el 14 de Nov. de 2023
Comentada: Riddhesh el 6 de Dic. de 2023
I want to smooth my noisy elevation vs distance data and also, [diff(Elevation)/diff(distance)] = grade; grade vs distance plot. I used smoothdata() command but the results are oversmoothed, it is over smoothing my data, hampel command does not work on my data ( no change in data). How do we adjust the smoothing factor for smoothdata or any other solution. Please let me know.
  1 comentario
Mathieu NOE
Mathieu NOE el 14 de Nov. de 2023
it would help (yourself) if you would share your code + data

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 14 de Nov. de 2023
Editada: Cris LaPierre el 15 de Nov. de 2023
You seem to know how to smooth your data in MATLAB, but are struggling with what the appropriate settings are. I'd suggest exploring the various options interactively by using the Smooth Data live task. It might be a simpler way to test out a variety of settings without having to have an in-depth knowlege of the underlying code.
Once you get the results you want, you can turn the live task into executable code.
  1 comentario
Riddhesh
Riddhesh el 6 de Dic. de 2023
It worked. Thank you so much!

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by