|
Prev: vitdec() and TCM
Next: input arguments of type 'uint16'
From: Rahul Uk on 6 May 2008 02:12 I would like to know how to plot a line of fixed length at an angle....
From: Ashwini Deshpande on 6 May 2008 02:44 "Rahul Uk" <rauluk23mj(a)gmail.com> wrote in message <fvosrl$q8b$1(a)fred.mathworks.com>... > I would like to know how to plot a line of fixed length at an > angle.... Hai, Try the following, it may help u: help polar or try: polar([pi/6,pi/6], [0,100]) is this what u are looking for??? Regards, Ashwini
From: Rahul Uk on 6 May 2008 03:10 "Ashwini Deshpande" <vd.ashwini(a)mathworks.com> wrote in message <fvounj$87r$1(a)fred.mathworks.com>... > "Rahul Uk" <rauluk23mj(a)gmail.com> wrote in message > <fvosrl$q8b$1(a)fred.mathworks.com>... > > I would like to know how to plot a line of fixed length at an > > angle.... > > Hai, > Try the following, it may help u: > help polar > or > try: > polar([pi/6,pi/6], [0,100]) > > is this what u are looking for??? > > Regards, > Ashwini > not exactly.... i wanted to plot in a 2D graph...... say length 1units and at a given angle 30 degrees starting from (0,0)....
From: Rahul Uk on 6 May 2008 03:15 I think we can use line instead of polar and get it....... any way thanks Ashwini.....
From: Rahul Uk on 6 May 2008 03:20
using line the length obtained is not 1..... so how do I get a line of length 1.... using line i get a length of root2...... |