How do I measure density of data points within a window in plots such as the following?
2 次查看(过去 30 天)
显示 更早的评论
Below I have a plot of (x,y) coordinate data for the trajectory of an object.
What is the best way to measure density of data points within windows of say 50 as I progress along the trajectorys path?
Thanks
7 个评论
dpb
2019-8-12
I guess it depends upon what he's really wanting -- which I'm not all that sure about. If he's following the trajectory, then binning 50 points is really just taking 50 points at a time from the beginning of the array irrespective of what the x coordinate really is. If it is actually using x, then he's got the start and the end of the trip glommed together at the first bin and that doesn't seem right on retrospect. That doesn't seem to make any sense of how to look at the data in any fashion I can think of.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!