问题描述:
matlab中: The number of rows in Y must equal the number of rows in X.?
x1=[2.98,2.89,2.82,3.14,3.56,3.98,4.87,5.12,6.00,6.01];
x2=[6280,6860,7703,8472,9422,10493,11760,13786,15781,17175];
y=[950,848,879,815,775,681,685,715,749,728,];
[b,bnt,r,rint,stats]=regress(y,x)
? Error using ==> regress
The number of rows in Y must equal the number of rows in X.
x1=[2.98,2.89,2.82,3.14,3.56,3.98,4.87,5.12,6.00,6.01];
x2=[6280,6860,7703,8472,9422,10493,11760,13786,15781,17175];
y=[950,848,879,815,775,681,685,715,749,728,];
[b,bnt,r,rint,stats]=regress(y,x)
? Error using ==> regress
The number of rows in Y must equal the number of rows in X.
问题解答:
我来补答展开全文阅读