plot normal line to a 2d vector given base point coordinates and direction

11 次查看(过去 30 天)
I'm trying to to plot a line that is normal to a certain vector in 2d space, given that vector's basepoint coordinates and direction. For example, in the image below the vector on the left has (x,y) coordinates of (195, -203) and direction coordinates (u,v) of (-0.081, -0.080), and I would like to plot a line that is perpendicular to the vector and that intersects it at its base. The ultimate goal is to plot 2 of these normal lines (e.g. one for each vector shown below) and find the intersection of the two normal lines to look at instantaneous centre of rotation.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by