how to know 'y' values of points when we only know 'x' values?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
AndresVar
2022년 5월 31일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!