フィルターのクリア

Calculate the Euclidean distance of simple combinations in a table

1 回表示 (過去 30 日間)
Riccardo Tronconi
Riccardo Tronconi 2021 年 6 月 28 日
編集済み: Seth Furman 2021 年 6 月 28 日
Hi guys I have an input table permtry (16x11) with these relevant coloumns:
Column 3-4: Position X -Y of the tag 1
Column 6-7: Position X -Y of the tag 2
Column 10-11: Position X -Y of the tag 3
for each row I would like to calculate the Euclidean distante of the simple combination:
norm (tag1-tag2)
norm (tag1-tag3)
norm (tag2-tag3)
Thanks to all in advance !!

採用された回答

Seth Furman
Seth Furman 2021 年 6 月 28 日
編集済み: Seth Furman 2021 年 6 月 28 日
What have you tried? Where are you confused?
You might want to take a look at the following documentation links:
  1 件のコメント
Riccardo Tronconi
Riccardo Tronconi 2021 年 6 月 28 日
I'm confused because I'm looking for a code that is valid for whatsover number of tag. Write a procedure for a fixed number of tag is kind of easy. Though I am not able to combine nchoosek with norm.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComputational Geometry についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by