How do I measure density of data points within a window in plots such as the following?
3 ビュー (過去 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!