From: astro mmi on
Hi everyone,
If I already have a line and its equation, how can I find its end points using MATLAB?Pls help and thanx in advance.
From: us on
"astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <i0hjq7$ajj$1(a)fred.mathworks.com>...
> Hi everyone,
> If I already have a line and its equation, how can I find its end points using MATLAB?Pls help and thanx in advance.

what have YOU done so far to solve YOUR particular problem...

us
From: John D'Errico on
"astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <i0hjq7$ajj$1(a)fred.mathworks.com>...
> Hi everyone,
> If I already have a line and its equation, how can I find its end points using MATLAB?Pls help and thanx in advance.

A line has NO end, and therefore no end points.
Problem solved.

If you really mean something else, then you need
to explain your problem.

John
From: us on
"John D'Errico" <woodchips(a)rochester.rr.com> wrote in message <i0huqq$7ch$1(a)fred.mathworks.com>...
> "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <i0hjq7$ajj$1(a)fred.mathworks.com>...
> > Hi everyone,
> > If I already have a line and its equation, how can I find its end points using MATLAB?Pls help and thanx in advance.
>
> A line has NO end, and therefore no end points.
> Problem solved.

john, i fully agree, of course...
yet, ML has an other concept, which is unfortunate from an educational point of view...

lh=line;
get(lh,'xdata')
% ans = 0 1
get(lh,'ydata')
% ans = 0 1

:-)
urs
From: astro mmi on
Sorry, let me reframe this as I have a line and its equation but I want to find out any 2 points on this line so that I can evaluate the midpoint of this line segment. Thanx

"John D'Errico" <woodchips(a)rochester.rr.com> wrote in message <i0huqq$7ch$1(a)fred.mathworks.com>...
> "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <i0hjq7$ajj$1(a)fred.mathworks.com>...
> > Hi everyone,
> > If I already have a line and its equation, how can I find its end points using MATLAB?Pls help and thanx in advance.
>
> A line has NO end, and therefore no end points.
> Problem solved.
>
> If you really mean something else, then you need
> to explain your problem.
>
> John