matlab程序错误 无法运行 哪里有错误 又怎么改正呢x=[7.8,15.75.3,14.76.1,14.88.2,16.57.6,18.56.0,18.57.6,16.212.8,21.46.8,15.1];x=[ones(9,1),x];y=[19.2,16.1,18.4,21.4,23.2,24.5,23.8,34.2,21.84]';[b,bint,r,rint,stats]=regress(y,x,0,0.5
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 02:18:35
matlab程序错误 无法运行 哪里有错误 又怎么改正呢x=[7.8,15.75.3,14.76.1,14.88.2,16.57.6,18.56.0,18.57.6,16.212.8,21.46.8,15.1];x=[ones(9,1),x];y=[19.2,16.1,18.4,21.4,23.2,24.5,23.8,34.2,21.84]';[b,bint,r,rint,stats]=regress(y,x,0,0.5
matlab程序错误 无法运行 哪里有错误 又怎么改正呢
x=[7.8,15.7
5.3,14.7
6.1,14.8
8.2,16.5
7.6,18.5
6.0,18.5
7.6,16.2
12.8,21.4
6.8,15.1];
x=[ones(9,1),x];
y=[19.2,16.1,18.4,21.4,23.2,24.5,23.8,34.2,21.84]';
[b,bint,r,rint,stats]=regress(y,x,0,0.5);
b,bint,stats
rcoplot(r,rint)
matlab程序错误 无法运行 哪里有错误 又怎么改正呢x=[7.8,15.75.3,14.76.1,14.88.2,16.57.6,18.56.0,18.57.6,16.212.8,21.46.8,15.1];x=[ones(9,1),x];y=[19.2,16.1,18.4,21.4,23.2,24.5,23.8,34.2,21.84]';[b,bint,r,rint,stats]=regress(y,x,0,0.5
regress的用法错误,
help regress 看一下它的语法.
这个 [b,bint,r,rint,stats] = regress(y,X,alpha),最多有三个参数的.