Hello
Is there a way in Matlab to find the 4h vertice of a parallelogram when other 3 are known ?
I would like to draw a rotated reactangle with mouse but Matlab doesn't allow it, so I decided to put 3 points and find 4th one automatically and by impoly function draw a
h1=impoint();
h2=impoint();
h3=impoint();
p1 = getPosition(h);
p2 = getPosition(h2);
p3 = getPosition(h3);
%p4=help needed here
impoly(gca,[p1 ; p2 ; p3 ;p4y])
Thanks