| MATLAB Central > MATLAB Newsreader > Angle between two points |
|
|
|
I was wondering how to calculate the angle between two points using matlab, unfortunately this is my first time using matlab and when I input my points I did it individually, ex. x1=2 y1=7, x2=4 y2=9 and x3=4 y3=8. Is there any easy way to calculate the angle formed by those three points? |
|
"Kale Hommy" <k.hommy@gmail.com> wrote in message <gbdomt$d2u$1@fred.mathworks.com>... |
|
point1 = [2 7]; |
|
Kale Hommy wrote: |
|
function sita = GetAngle(p1, p2) |
|
In article <gbdqiu$560$1@fred.mathworks.com>, nclxin@hotmail.com says... |
|
wow... you're great! |
|
thanks, great@!! |
|
"Sangjae " <kor_rea@hanmail.net> wrote in message <j9oh0j$g3r$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
