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 = √((
采纳的回答
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!