All matrices on a row in the bracketed expression must have the same number of rows.
x=[ 8995000 2093800 4072 12312313 8800100 8752800 1424500 17260000
10841900 3078000 4649 16614367 14573500 9992000 1962900 20740000
13266000 3279600 5181 21114292 18979100 10059000 2780000 24110000
16919000 4020900 5642 21489369 23947000 13572000 2864000 24664000
20549367 4381347 6481 28192000 29938844 16219000 3546000 32650000
23890300 4411403 7129 48643430 40124530 20472092 3873626 42337109]';
y=[2185000 23710000 27504800 33244000 39010000 45026032]';
x=[ones(length(x),1) x']
[b,bnt,r,rint,stats]=regress(y,x)
Error using ==> horzcat
All matrices on a row in the bracketed expression must have the
same number of rows.
人气:218 ℃ 时间:2020-04-10 04:20:21
解答
x=[ones(length(x),1) x'] 后面的x不需要转置,因为定义的时候已经转置过了
推荐
- Look,the expression on his face s____ that something bad must have happened to him.
- don't shout ___the party ,or you'll ___leave.A,at,must B,of ,have to C,at ,have to D,in,must
- .____by his expression,he must have got "A" in the exam.
- have to 与must 的区别
- must have been doing与must have been done都表示推测,有什么区别呀?
- 如图,在△ABC中,AB=12,AC=8,AD是BC边上的中线,则AD的取值范围是_.
- 修一条路,第一天修了全长的5分之2,第2天修了2千米,还剩全长的一半没有修,这条路全长多少千
- 下列哪个动物造型融入了奥运会吉祥物福娃?大熊猫 亚洲象 华南虎 金丝猴
猜你喜欢