回复: matlab菜鸟问题
我也是个新手,我想问一下怎么运行下面的程序啊:
x=[113.2 155.2 192.8 233.2 300.3]
y=[1164701 1306936 1261643 1581008 1887837]
x=[ones(5),x]'
[b,bint,r,rint,stats]=regress(y,x)
为什么我运行出来都有错误,都是说All matrices on a row in the bracketed expression must have the
same number of rows.
|