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.
人气:239 ℃ 时间: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都表示推测,有什么区别呀?
- 求函数f(x)=4/(3^x-9)的定义域值域和单调区间
- 国王的怪题 过完想要为儿子找一个数学教师,出了一个题目,说1000颗珍珠分装进10个盒子每个盒中随意装多少
- It is the film that I have ever seen 这个句子中先行词有几个?又有人又物吗?
猜你喜欢
- 五年级下册语文第21课主要内容
- 声音在密度足够大的介质中的传播速度能达到光速吗?
- 发射卫星一般应用多级火箭,第一级火箭点火后,使卫星向上匀加速运动的加速度为50m/s2的匀减速运动,燃烧30秒后第一级脱离,第二级没有马上点火,所以卫星向上做10m/s2的匀减速运动,10秒后第二级火箭启动,卫星的加速度为80m/s2,这样
- Do you think it is going to rain over the weekend?
- 求中西饮食文化对比英语文章
- i'm sorry that i can't ()your invitation.agree to;accept;receive;take
- 2008年元旦(1月1日)是星期二,那么2009的元旦是星期_.
- 小强同学采用MnO2作催化剂,分解过氧化氢的方法制氧气,反应前混合物的总质量138g(MnO2质量2g),反应后剩余物质总质量134.8g.