Search All of the Math Forum:

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

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

Topic: Parallel to line through point without slope calculation
Replies: 4   Last Post: Mar 28, 2013 11:18 AM

 Messages: [ Previous | Next ]
 Steven Lord Posts: 18,038 Registered: 12/7/04
Re: Parallel to line through point without slope calculation
Posted: Mar 27, 2013 5:23 PM

"K " <palanski@ymail.com> wrote in message
news:kivmba\$jnh\$1@newscl01ah.mathworks.com...
> Hello,
>
> I have two points (a,b) that make up a line, and a third point (c). I'd
> like to draw a line (length x) that is parallel to (a,b) but passes
> through c (at its midpoint).

Determine the equation of the line. There's a formula for the equation of a
line given a point and the slope of the line.
Generate x coordinates for your region of interest.
Use the equation to generate the corresponding y coordinates.
Plot the generated coordinates.

--
Steve Lord
slord@mathworks.com