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 ビュー (過去 30 日間)
Savitzky Golay Filtering

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 8 月 10 日
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 件のコメント
Simon Giando
Simon Giando 2018 年 8 月 12 日
thank you very much. how if i would like to export the y_filtered to excel?
Ameer Hamza
Ameer Hamza 2018 年 8 月 12 日
You can use xlswrite() to write the data from MATLAB to an excel file.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2018 年 8 月 11 日

カテゴリ

Help Center および File ExchangeSignal Generation and Preprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by