- Get the equation of line using polyfit. Substitute the point on the line.....if it satisfies the point lies on the line.
- Get the area, if area is zero, the point lies on the line.
Number of people who passes a point
1 回表示 (過去 30 日間)
古いコメントを表示
I have a data of coordinates of moving people and I'm looking for a way to find the number of people who passes a certain range of (x,y) points for example a line from (-20,-20) to (20,20). The data is always increasing in both directions i.e. x2>x1 and Y2>1.
2 件のコメント
KSSV
2020 年 11 月 2 日
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!