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

4 views (last 30 days)
Savitzky Golay Filtering

Accepted Answer

Ameer Hamza
Ameer Hamza on 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 Comments

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 11 Aug 2018

Categories

Find more on Signal Generation and Preprocessing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!