Path: news.mathworks.com!not-for-mail
From: "Song Joo " <song-lee@northwestern.edu>
Newsgroups: comp.soft-sys.matlab
Subject: solve equation
Date: Thu, 4 Dec 2008 23:43:02 +0000 (UTC)
Organization: Northwestern University
Lines: 10
Message-ID: <gh9pu6$7ug$1@fred.mathworks.com>
Reply-To: "Song Joo " <song-lee@northwestern.edu>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228434182 8144 172.30.248.38 (4 Dec 2008 23:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Dec 2008 23:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1401207
Xref: news.mathworks.com comp.soft-sys.matlab:505083


Hi all,
How could I solve these equations in matlab?

a^2-(x3-x2)^2-(y3-y2)^2=0
b^2-(x2-x1)^2-(y2-y1)^2=0

a, b, x1,x3,y1, y3 are known. so basically i am looking for x2 and y2.
solve command does not solve these equations. Does anybody know how to simply do this?

Thanks in advance.