perpendicularity vectors, unit vector
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello
So i have 3 curves (red, green and blue) every curve is made od 117 (x,y,z) cordinates. Then i have unit vector for each point on blue curve (cosalpha, cosbeta, cosgama). I need to get the distance betwen the curves using the unit vector. So i made a lot of line representing unit vector (length of vector is unknown). And then i tried to perpendicularity vectors from red/green curve to unit vectors and then using Pythagorean theorem to get the distance. I have no clue how to do it. Im glad for any advice.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/853020/image.png)
2 Kommentare
Torsten
am 4 Jan. 2022
Brute-force method:
Check which of the 117x117 combinations of points yields the smallest value for distance.
Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!