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 Ansichten (letzte 30 Tage)
Savitzky Golay Filtering

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 10 Aug. 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 Kommentare
Simon Giando
Simon Giando am 12 Aug. 2018
thank you very much. how if i would like to export the y_filtered to excel?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 11 Aug. 2018

Kategorien

Mehr zu Signal Generation and Preprocessing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by