The distance of a point from a set

1 view (last 30 days)
Farshid R
Farshid R on 28 Jun 2022
Commented: KSSV on 28 Jun 2022
Hello,
I want to calculate the distance of a point in two-dimensional space from a set as shown below. But I do not know how I have to calculate the equilibrium point at any given moment and also how the distance of a point from a set will become a set?
Please guide me so I can write the code.
Best regards

Answers (1)

KSSV
KSSV on 28 Jun 2022
Read about pdist, pdist2
  4 Comments
Farshid R
Farshid R on 28 Jun 2022
Thank you very much for putting aside time for my problem. Could I ask questions if I had a problem with it?
KSSV
KSSV on 28 Jun 2022
Yes...you may.. It is a free country; if not me some one else can help you.

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox 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!