Hello i'm new use matlab. i would like to use savitzky golay to smooth my data. I have the data in .txt format. Can you help me how to plot my data and use the savgol filteriing? Thank you

3 visualizaciones (últimos 30 días)
Savitzky Golay Filtering

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 10 de Ag. de 2018
You can use sgolayfilt() function from Signal Processing Toolbox. For reading data from txt file you can use textscan(). For plotting you can use plot() function. For a more comprehensive example, please attach a sample dataset.
  4 comentarios
Simon Giando
Simon Giando el 12 de Ag. de 2018
thank you very much. how if i would like to export the y_filtered to excel?

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 11 de Ag. de 2018

Categorías

Más información sobre Signal Generation and Preprocessing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by