Savitzky-Golay Filtering

5 vues (au cours des 30 derniers jours)
Muhsin
Muhsin le 1 Mar 2018
Hello I would like to use Savitzky-Golay Filtering to smooth my data. I would like apply the example given below by MATLAB to my data, however; I do not know the data format of the example. How can I apply it my data consisting of two columns (The second column will be smoothed)? Thank you.
load count.dat
c = smooth(count(:));
C1 = reshape(c,24,3);
subplot(3,1,1)
plot(count,':');
hold on
plot(C1,'-');
title('Smooth C1 (All Data)')

Réponses (1)

Abhishek Ballaney
Abhishek Ballaney le 1 Mar 2018
https://in.mathworks.com/help/signal/ref/sgolayfilt.html
https://in.mathworks.com/help/signal/ref/sgolay.html

Community Treasure Hunt

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

Start Hunting!

Translated by