Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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,867
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 <nithi.pravas@googlemail.com> wrote in message <e36e6809-36a1-4d79-a4e8-cd4ba96ff74b@googlegroups.com>...
> 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;
etc

Roger Stafford



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.