line equation and finding the distance to a 3rd point

1 view (last 30 days)
i have a matrix A=[a1 a2 a3 a4 . . .
i want to calculate distance form a2 to a1_a3 line
i want something simple like this (if possible)
aa --> line equation
d= a2 - aa
thank you

Answers (0)

Categories

Find more on Graph and Network Algorithms 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!