Determine the percentage of proximity of a point with respect to the theoretical
古いコメントを表示
Hello, I need to calculate the percentage of proximity that has a real point with respect to a theoretical one that is located in the center of a rectangle of 300 mm side by 340 mm wide.

If the real point (shown in red) is just above the black, it should return 100% and as it moves away that value should decrease until it is at least 0%.

Could someone tell me how this could be achieved or what I need to do research on to be able to do this?
1 件のコメント
Image Analyst
2021 年 2 月 21 日
Obviously you can compute the distance between them, but what is "the percentage of proximity"? What's your definition for that?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!