regress线性回归建模 显示X秩亏,但还在精度内,R2很低,其他三个参数NAN。
Show older comments
e1=MSC(d1,1,1044);%MSC校正
e2=e1(1:240,300:1000);%预测集数据选择
e3=e1(191:240,300:1000);
X=[e2,ones(240,1)];%矩阵添加一行1
[b,bint,r,rint,stats]=regress(Y,X);

请问大佬们怎么解决啊,数据里也没有字符类型,没有其他函数,为啥建模参数是这种情况呢
Accepted Answer
More Answers (0)
Categories
Find more on 线性回归 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!