Skip to main content
4 events
when toggle format what by license comment
Aug 10, 2016 at 16:11 comment added Wjx Also, when there're numerous points, and they're ordered, Using Split will be much better in speed, but if your points' order is messed up, then use Gather. You may check it yourself.
Aug 10, 2016 at 16:07 comment added Wjx It represents how much points you want to delete. 0.3 means delete 30% of the points. If you want no points deleted, you can simply set it to 0. You may plot ListPlot[Norm[#/r] & /@ Differences[dat]] before you select the ratio, check how near you want the points to be. If you still want to specify everything by yourself, you can manually set r.
Aug 10, 2016 at 15:57 comment added user129412 I haven't fully gone through the code yet, but what does ratio specify? The amount of points I want to end up with, or how close the points are? As in, I don't necessarily want to end up with less points if all of them are well separated.
Aug 10, 2016 at 15:56 history answered Wjx CC BY-SA 3.0