- 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!