Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Is there a quic...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 5397 of 6400
Post > Topic >>

Is there a quick way to find the intersection of two lines?

by eyuchen@[EMAIL PROTECTED] Feb 4, 2008 at 04:08 PM

Hi there,

I have two sets of x-y data:
x1=[1,2,3,4,5]  y1=[3.2,7.4,8.2,9.3,7.9];
x2=[1.2,1.4,2.3,2.8,3.3,3.9,4.1,4.5,5.2]
y2=[3.1,5.2,6.2,7.3,7.5,8.6,9.6,8.7,7.4];

By running:
plot, x1, y1
oplot, x2, y2
we can clearly see that there are four intersections, but it is not
clear what are the x,y coordinates of these points.

Is there an easy way to do it? Thank you very much.

Eugene
 




 5 Posts in Topic:
Is there a quick way to find the intersection of two lines?
eyuchen@[EMAIL PROTECTED]  2008-02-04 16:08:16 
Re: Is there a quick way to find the intersection of two lines?
"ben.bighair" &  2008-02-04 16:33:39 
Re: Is there a quick way to find the intersection of two lines?
eyuchen@[EMAIL PROTECTED]  2008-02-05 00:24:33 
Re: Is there a quick way to find the intersection of two lines?
Wox <nomail@[EMAIL PRO  2008-02-05 11:45:45 
Re: Is there a quick way to find the intersection of two lines?
"ben.bighair" &  2008-02-05 06:00:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 14:25:15 CST 2008.