How to 'smooth' data and calculate line gradient?

后端 未结 6 1441
执念已碎
执念已碎 2020-12-24 03:39

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

6条回答
  •  无人及你
    2020-12-24 04:41

    In addition to GvSs excellent answer above you could also consider smoothing / reducing the stepping effect of your averaged results using some general curve fitting such as cubic or quadratic splines.

提交回复
热议问题