How to solve a particular equation using the elements of an array?
1 回表示 (過去 30 日間)
古いコメントを表示
I have the following coordinates (center x, center y, center z) of 5 spheres as following:
center = [2 3 5
1 6 6
3 2 6
45 8 5
9 8 8
]<p>I want to solve this particular equation using the elements of the array:
K = √((
3 件のコメント
採用された回答
Star Strider
2016 年 3 月 9 日
If you have the Statistics Toolbox, use the pdist function to calculate the distances between the centres.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Computational Geometry についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!