Path: news.mathworks.com!not-for-mail
From: "marcel " <djmoumouh87@hotmail.fr>
Newsgroups: comp.soft-sys.matlab
Subject: calculate the intersection of 3 sphere
Date: Mon, 26 Mar 2012 13:07:10 +0000 (UTC)
Organization: universit&#233; de marne la vall&#233;e
Lines: 7
Message-ID: <jkpplu$li7$1@newscl01ah.mathworks.com>
Reply-To: "marcel " <djmoumouh87@hotmail.fr>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1332767230 22087 172.30.248.45 (26 Mar 2012 13:07:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 26 Mar 2012 13:07:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3402405
Xref: news.mathworks.com comp.soft-sys.matlab:762208

hello every baby.
I try to calculate the coordinate of two points of intersection 3-sphere, it is analytically complicated, so I asked whether it is possible to use subs in the solve function to pass parameters in the function?, and if yes how to do that?
example:
a1 = 4; b1 = 1; c1 = 2; a2 = 5, B2 = 2; c2 = 2; a3 = 5, b3 = 1; c3 = 3;
[x,y,z]=solve('(x-a1)^2+(y-b2)^2+(z-c2)=1','(x-a2)+(y-b2)+(z-c2)^2=1','(x-a3)^2+(y-b3)^2+(z-c3)^2=1')
Many Thanks
marcel