>> y=xlsread('D:\u.xls');
   x1=xlsread('D:\T.xls');
   x2=xlsread('D:\P.xls');
   x3=xlsread('D:\S.xls');
   X=[ones(length(y),1) x1 x2 x3 x1.*x2 x1.*x3 x2.*x3 x1.^2 x2.^2 x3.^2];
   [b,bcl,e,ecl,stat]=regress(y,X,0.05);
   lenb=length(b);
   disp('Regression coefficients and their confidence limits')
   disp(num2str(bcl(:,1)))
   disp(['Coefficient of determination R^2='num2str(stat(1))])
   disp(['Test statistic F0='num2str(stat(2))'and corresponding p-value='num2str(stat(3))])
   normplot(e)
Regression coefficients and their confidence limits
  -0.416054
 -0.0375866
 -0.0574109
   -5.25212
 0.00364536
  -0.425171
  -0.422587
0.000283891
 -0.0191824
    24.2936
???    disp(['Coefficient of determination R^2='num2str(stat(1))])
                                                |
Error: Missing MATLAB operator.
小弟在此谢过先
 [此贴子已经被作者于2008-4-14 19:44:50编辑过]