| 查看: 497 | 回复: 0 | ||
cyr1993铁虫 (小有名气)
|
[求助]
有没有用过matlab的大神啊??我有段程序一直显示输入参数的数目不足。。。。
|
|
load D.txt % mu=mean(D); ;sig=std(D); rr=corrcoef(D); data=zscore(D); n=8; m=3; x0=D(:,1:n);y0=D(:,n+1:end); e0=data(:,1:n);f0=data(:,n+1:end); [XL,YL,XS,YS,BETA,PCTVAR,MSE,stats]=plsregress(e0,f0) xw=e0\XS yw=f0\YS ncomp=input 然后就显示“错误使用 input 输入参数的数目不足” |
» 猜你喜欢
27年申博自荐-能源/环境方向
已经有3人回复
闲聊
已经有3人回复
亲密关系
已经有13人回复
27秋申博自荐
已经有4人回复










回复此楼