"Sia" wrote in message <k9bh8c$13k$1@newscl01ah.mathworks.com>...
> Xa*(Y+Z)=0
> b*Y^2+c*X^2=d
> e*Z^2+f*X^2=g
        
Have you tried 'solve' in the Symbolic Toolbox?
If that doesn't give you a satisfactory answer, substitute X = a*(Y+Z) into the other two equations to get:
(b+c*a^2)*Y^2 + 2*c*a^2*Y*Z + c*a^2*Z^2 = d
f*a^2*Y^2 + 2*f*a^2*Y*Z + (e+f*a^2)*Z^2 = g
Then combine these so as to eliminate the Y^2 term and get an equation involving only Y*Z and Z^2, which can then be solved for Y in terms of Z. If this is substituted for Y in one of the above two equations, you will get a single equation in Z alone, which can be manipulated to a fourth order polynomial equation in Z.
Fourth order polynomial equations do have explicit solutions but the Symbolic Toolbox is not likely to give them to you. However you can use 'roots' to obtain four numerical Z roots for each set of specified parameters a, b, ..., f. Each of these can then be used to directly find Y and X from the above equations of Y in terms of Z and X in terms of Y and Z.
Roger Stafford
