How to find the 'y' values of line which is perpendicular to another line?
3 views (last 30 days)
I have (x, y) data of the blue line, and the only the x data of the red points.
I want draw a line which is perpendicular to the blue line so that I can make a patch like image.
But I don't know how to get the two 'y' values of the pair of red points.
Let me know whether there is a formula or a function of MATLAB.