Savitzky-Golay Filtering

5 次查看(过去 30 天)
Muhsin
Muhsin 2018-3-1
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)')

回答(1 个)

Abhishek Ballaney
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