Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
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 ?

Réponses (0)

Cette question est clôturée.

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by