Smoothening of a curve

2 visualizaciones (últimos 30 días)
Uvais
Uvais el 17 de Mayo de 2023
Editada: Cris LaPierre el 17 de Mayo de 2023
I have got a csv file with 1million data points which i have plotted in matlab and i am satisfied with the results. I want to smooth the plot that i have generated. Any help would be appreciated.
  3 comentarios
KSSV
KSSV el 17 de Mayo de 2023
Read about smooth
Mathieu NOE
Mathieu NOE el 17 de Mayo de 2023
you probably don't need more than 1000 data point for a good enough display
so you can reduce your data processing burden by already decimating it (with decimate)
as decimate will also apply first a low pass filter , you can get both benefits in one line.

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 17 de Mayo de 2023
Editada: Cris LaPierre el 17 de Mayo de 2023
You can use the Smooth Data task in a live script to interactively adjust your smoothing settings to arrive at an acceptable result.

Categorías

Más información sobre Smoothing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by