座標データからある点と他5点との距離の平均を総当たりで求めたい。
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
6つの点の情報を持つ座標データでxとyが交互に1列ずつ合計12列、31行の数値配列を使っています。
この数値配列からある点から他5つの点との距離の平均を三平方の定理とmeanを用いて求めたいと考えています。
そして、それぞれの6つの点に対して他5つの点について、総当たりで距離の平均を求め、6列31行の数値配列もしくはcell 配列にとして出力したいと考えています。しかし、どのような方法で、総当たりで計算できるのかわかりません。
どなたかご教示いただければ幸いです。
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!