All matrices on a row in the bracketed expression must have

slin68052022-10-04 11:39:543条回答

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.

已提交,审核后显示!提交回复

共3条回复
alpinepoppy 共回答了21个问题 | 采纳率85.7%
x=[ones(length(x),1) x'] 后面的x不需要转置,因为定义的时候已经转置过了
1年前
啊山哥 共回答了31个问题 | 采纳率
==
1年前
claudiolopez 共回答了21个问题 | 采纳率
What do you want to express?
1年前

相关推荐

Given the matrices
Given the matrices
A=
Evaluate,giving reasons if this is notpossible
a) A + B b) CB c) ACT
trheawr1年前0
共回答了个问题 | 采纳率
PAIRS OF MATRICES, ONE OF WHICH COMMUTES WITH THEIR COMMUTAT
PAIRS OF MATRICES, ONE OF WHICH COMMUTES WITH THEIR COMMUTATOR求翻译帝
好神奇鱼鱼1年前1
伤花怒放8848 共回答了17个问题 | 采纳率88.2%
一对矩阵,其中的任何一个矩阵可以使用他们的交换子进行交换
For each of the following augmented matrices,write down a sy
For each of the following augmented matrices,write down a system of linear equations which is represented by the matrix. 中文什么意思
cry5171年前1
泡泡龙0403 共回答了23个问题 | 采纳率91.3%
为每个增广矩阵后,写下这一线性方程组的矩阵表示.
高等数学线性代数 合成矩阵问题 灰色的地方是可以修改的 那个number of matrices(矩阵的数目
高等数学线性代数 合成矩阵问题



灰色的地方是可以修改的 那个number of matrices(矩阵的数目)不是1 请麻烦写出较详细的过程:)
ye0381151年前0
共回答了个问题 | 采纳率
entry-wise product of matrices A and B 如何翻译啊,不知道entry-wise表示
entry-wise product of matrices A and B 如何翻译啊,不知道entry-wise表示啥意识
文元旧友1年前0
共回答了个问题 | 采纳率
fixed-margin matrices什么意思
djcl1年前0
共回答了个问题 | 采纳率
线性代数证明题,if AandB are (n×n)matrices such that A is nonsingula
线性代数证明题,
if AandB are (n×n)matrices such that A is nonsingular and AB=0,then prove that B=0.[hint writeB=[b1……bn]and consider AB=[AB1……ABn]]
酒罢邀灵1年前1
南宫冰 共回答了27个问题 | 采纳率85.2%
obin答的没错.
不过从你给的提示看,好像不能用A可逆,而让从线性方程组的角度考虑.
记法如提示.
由 AB=0 知 [Ab1,Ab2,...,Abn]=0
所以 Abi = 0,i=1,2,...,n
所以 bi 都是齐次线性方程组 Ax=0 的解向量 ( i=1,2,...,n)
再由已知A非奇异,Ax=0 只有零解,所以 bi=0,i=1,2,...,n
故 B=0.
matrix 和 matrices 有什么不同吗
爱恨只一人1年前1
fengbo117 共回答了18个问题 | 采纳率94.4%
后面的是前面的复数(英语意义上的复数)