MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Deciding which side a numerically generated line y... 

Subject: Deciding which side a numerically generated line you are on From: Dale Date: 16 Jan, 2009 23:41:02 Message: 1 of 9 
I am looking at a number of functions of two variables (say x and y), and I am restricting my attention to x \in [pi/2, pi/2] and y \in [pi, pi]. Call this set S \subset R^2. The problem is such that I really only want to look at some of the data in this subset of the plane. I numerically generate some boundary curves that separate feasible (x,y) coordinates from infeasible ones (by solving a system of two equations in two unknowns), and I need to be able to decide if an arbitrary point in S is on one side or the other side of the numerically generated curve. I have the points on the curve as a 2xn array, each column of which is a point (x,y) on the curve. 
Subject: Deciding which side a numerically generated line you are on From: Sadik Date: 17 Jan, 2009 00:09:01 Message: 2 of 9 
"Dale" <hazelREMOVETHISnusse@gmail.com> wrote in message <gkr5ue$8b5$1@fred.mathworks.com>... 
Subject: Deciding which side a numerically generated line you are on From: Sadik Date: 17 Jan, 2009 00:17:01 Message: 3 of 9 
"Sadik " <sadik.hava@gmail.com> wrote in message <gkr7it$4s4$1@fred.mathworks.com>... 
Subject: Deciding which side a numerically generated line you are on From: Roger Stafford Date: 17 Jan, 2009 01:40:22 Message: 4 of 9 
"Dale" <hazelREMOVETHISnusse@gmail.com> wrote in message <gkr5ue$8b5$1@fred.mathworks.com>... 
Subject: Deciding which side a numerically generated line you are on From: Dale Date: 17 Jan, 2009 03:47:01 Message: 5 of 9 
This makes perfect sense, thank you! I'll let you know once I implement it, hopefully it should be as straightforward as you made it sound :) 
Subject: Deciding which side a numerically generated line you are on From: Roger Stafford Date: 17 Jan, 2009 05:11:02 Message: 6 of 9 
"Dale" <hazelREMOVETHISnusse@gmail.com> wrote in message <gkrkbl$21h$1@fred.mathworks.com>... 
Subject: Deciding which side a numerically generated line you are on From: Roger Stafford Date: 17 Jan, 2009 07:59:06 Message: 7 of 9 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gkrp96$8rn$1@fred.mathworks.com>... 
Subject: Deciding which side a numerically generated line you are on From: Rune Allnor Date: 17 Jan, 2009 10:54:28 Message: 8 of 9 
On 17 Jan, 00:41, "Dale" <hazelREMOVETHISnu...@gmail.com> wrote: 
Subject: Deciding which side a numerically generated line you are on From: Bruno Luong Date: 17 Jan, 2009 11:59:02 Message: 9 of 9 
Rune Allnor <allnor@tele.ntnu.no> wrote in message <6a95faa5b6734fa8804ddd9ae4da773d@b38g2000prf.googlegroups.com>... 
No tags are associated with this thread.
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.