>> xl=[2009 2010 2011 2012 2013 2014 2015]';
>> y=[0.52 9.36 33.6 191 362 571 912]';
>> x=[ones(7,2),xl];
>> [b,bint,r,rint,stats]=regress(y,x);
Warning: X is rank deficient to within machine precision.
> In regress at 80
>> b,bint,stats
b =
1.0e+005 *
0
-3.0051
0.0015
bint =
1.0e+005 *
0 0
-4.2639 -1.7462
0.0009 0.0021
stats =
1.0e+004 *
0.0001 0.0038 0.0000 1.6587
>>
中间出错了
Warning: X is rank deficient to within machine precision.
> In regress at 80
这个要怎么办
结果的R^2不对 要怎么改正 在线等急