The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: angular bisector
Replies: 5   Last Post: Jan 22, 2013 4:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Roger Stafford

Posts: 5,929
Registered: 12/7/04
Re: angular bisector
Posted: Jan 21, 2013 11:32 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

asp <> wrote in message <>...
> I am given three points...i constructed an angular bisector using vectors
> V1=[(p1(1)-p2(1)) (p1(2)-p2(2))];
> V2=[(p2(1)-p3(1)) (p2(2)-p3(2))];
> V1=V1/norm(V1);
> V2=V2/norm(V2);
> V3 = V1+V2; % Bisector vector
> plot([p2(1),V3(1)+p2(1)],[p2(2),V3(2)+p2(2)], 'g--');
> But the bisector i got is wrong...
> Am i doing anything wrong in coding or direction of vectors..
> i took p1p2 and p2p3 direction...
> thanks for your help...

- - - - - - - - -
If p2 is the point at the angle you wish to bisect, then just reverse the direction of V2.

V1 = p1-p2;
V2 = p3-p2;

Roger Stafford

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.