- 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 view (last 30 days)
Show older comments
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 Comments
KSSV
on 2 Nov 2020
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!