From: Ken on
Hi everyone:

I am fairly aquianted with MATLAB but new to its curve and data fitting features/toolboxes. I have a set of x,y,z data that I need fitted to the following equation:

z + a*x + b*x^3 + c*y + d*(x^2)*y = 0

I am trying to find a set of coefficients (a,b,c,d) that best fits the x,y,z data. In playing with the curve fitting toolbox there is no preset for this form of equation. Would it be sufficient just to rearrange the equation to the form:

-z = a*x + b*x^3 + c*y + d*(x^2)*y ?

Or would I have to do the fitting using some other method? The method of fitting is not as big of an issue right now as this is an intra-data comparison and as long as the method is consistent it'll be a good start.

Thanks in advance for any advice/help.