Info

此问题已关闭。 请重新打开它进行编辑或回答。

I have a code which calculates the shortest distance between 2 line segments given all the endpoints of segments. How to create a function and use the same code to find the shortest distance between N random linesegments (Suppose I have 4 segments, I

1 次查看(过去 30 天)
I have a code which calculates the shortest distance between 2 line segments given all the endpoints of segments. How to create a function and use the same code to find the shortest distance between N random linesegments (Suppose I have 4 segments, I want to find the shortest distance between 1st and 2nd , 1st and 3rd, thn followed by 2nd and 3rd , 2nd and 4th) . How to do this ?

回答(0 个)

此问题已关闭。

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by