curvesmoothing

How to 'smooth' data and calculate line gradient?

I'm reading data from a device which measures distance. My sample rate is high so that I can measure large changes in distance (i.e. velocity) but this means that, when the velocity is low, the device delivers a number of measurements which are identical (due to the granularity of the device). This results in a 'stepped' curve. What I n...

How to smoothen a plot in MATLAB?

I have some 9000 points that are plotted on a graph: [Full resolution] Actually, the plot is not as smooth as I wanted it to be. Is there some way I can smoothen the graph to a required degree? Or some form of thresholding so that I can selectively smoothen out the parts that is too bumpy? I am not sure but can fast-fourier-transfo...

Help: Android paint/canvas issue; drawing smooth curves

How do I get smooth curves instead of dots or circles, when I draw with my finger on the touch screen, in Android? I am using the following code- public class DrawView extends View implements OnTouchListener { private static final String TAG = "DrawView"; List<Point> points = new ArrayList<Point>(); Paint paint = new Paint(); public D...

Convolve working with Interpolated Functions in Mathematica

I'm using Mathematica 7. I have an interpolated function, here's an example: pressures = WeatherData["Chicago", "Pressure", {2010, 8}] // DeleteCases[#, {_, _Missing}] & // Map[{AbsoluteTime[#[[1]]], #[[2]]} &, #] & // Interpolation; I'd like to compute it's derivative, which is straight forward: dpressures = D[pressur...