"Nicole " <nicole.b.normandin@raytheon.com> wrote in message <i8i07u$12r$1@fred.mathworks.com>...
> I'm having a little trouble solving these three equations for 3 unknowns (x,y,z) in MATlab:
>
> F(1)= 47*y  2*x + 29*z + 2*x*y  10*x*z + 12*y*z  111;
> F(2)= 12*y  2*x + (75*z)/2 + 9*6^(1/2)*z*i + 2*x*y + 12*y*z  3*6^(1/2)*x*z*i + 5/2 + (141*6^(1/2)*i)/4 + (21*6^(1/2)*y*i)/2;
> F(3)=12*y  2*x + (75*z)/2  9*6^(1/2)*z*i + 2*x*y + 12*y*z + 3*6^(1/2)*x*z*i + 5/2  (141*6^(1/2)*i)/4  (21*6^(1/2)*y*i)/2;
>
> I have tried fsolve but with little success. I know this isn't a very tough problem but I'm a little rusty with MATlab. Any help would be appreciated.
>
> Thanks!
Do you have the Symbolic Toolbox?
syms x y z
F1= 47*y  2*x + 29*z + 2*x*y  10*x*z + 12*y*z  111;
F2= 12*y  2*x + (75*z)/2 + 9*6^(1/2)*z*i + 2*x*y + 12*y*z  3*6^(1/2)*x*z*i + 5/2 + (141*6^(1/2)*i)/4 + (21*6^(1/2)*y*i)/2;
F3=12*y  2*x + (75*z)/2  9*6^(1/2)*z*i + 2*x*y + 12*y*z + 3*6^(1/2)*x*z*i + 5/2  (141*6^(1/2)*i)/4  (21*6^(1/2)*y*i)/2;
S = solve(F1,F2,F3,x,y,z);
S.x
S.y
S.z
and to view the usable value
double(S.x)
...
Good Luck
