I'm using an acquisition card to capture data and show them to the program user with a graph, but there is a lot of noise and the curve is not smooth.
I would like it to be more continued, first for an esthetic point of vue and secondly because i want to derivate it latter.
I overheard about smoothing technics but I don't know exactly what to search for, so where can i find resources/algorithm about it?
Or is there a better solution?...
A simple method
One simple way, would be to average the values around your current point. (such as, prev 4 values+cur value+next 4 values) You could increase the number of samples to smooth it more if you have enough data elements.
This would probably work best if there's a lot of data to work with.
There's also Bezier algorithms that work with n points of data. That would work well to smooth more limited data.
You could even combine the two methods.
July 10th, 2003, 10:27 AM
I think I'll use the average method to refine the results/remove off-scale points and follow with the Bezier method.