how to know 'y' values of points when we only know 'x' values?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1017065/image.jpeg)
I know the coordinates of red points and slope of red line.
the black line is perpendicular to red line.
I know 'x' values(x1,x2)
but I don't know 'y' values, so I want to know 'y' values(y1,y2).
is there a fuction or a formular?
thanks
0 commentaires
Réponses (1)
AndresVar
le 31 Mai 2022
yes a perpendicular line has a negative inverse slope
so if red lines has slope m1=(dy/dx)_red, then the black line has slope m2=-1/m1=(dy/dx)_black
0 commentaires
Voir également
Catégories
En savoir plus sur Graph and Network Algorithms 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!