Savitzky-Golay Filtering
Show older comments
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)')
Answers (1)
Abhishek Ballaney
on 1 Mar 2018
0 votes
https://in.mathworks.com/help/signal/ref/sgolayfilt.html
https://in.mathworks.com/help/signal/ref/sgolay.html
Categories
Find more on Smoothing and Denoising 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!