FunctFit, multiple independent variables; error: X and Y data have different number of points

I want to use a user defined function to fit to my data, there are more than 20 independent variables in the function, so I tried to use a 2D X wave to pass the independent X waves to the function, but when I run the procedure an error occurs: " X and Y data have different number of points".

I have checked the help file, the format should be all right. I really have no idea about this now. Any thoughts are appreciated.
FuncFit_problem.pxp
I'm afraid the fitting function can't take a matrix for the independent variables. You will need to have more than 20 X waves in your function. Sorry.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
johnweeks wrote:
I'm afraid the fitting function can't take a matrix for the independent variables. You will need to have more than 20 X waves in your function. Sorry.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


Thanks for your reply, John.
It seems that I get into a wrong way, I will try some other ways.