matlab中kron对两个矩阵做的怎样的变换,不懂

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 11:43:55
matlab中kron对两个矩阵做的怎样的变换,不懂matlab中kron对两个矩阵做的怎样的变换,不懂matlab中kron对两个矩阵做的怎样的变换,不懂KRON(X,Y)istheKronecke

matlab中kron对两个矩阵做的怎样的变换,不懂
matlab中kron对两个矩阵做的怎样的变换,不懂

matlab中kron对两个矩阵做的怎样的变换,不懂
KRON(X,Y) is the Kronecker tensor product of X and Y.
The result is a large matrix formed by taking all possible
products between the elements of X and those of Y. For
example, if X is 2 by 3, then KRON(X,Y) is

[ X(1,1)*Y X(1,2)*Y X(1,3)*Y
X(2,1)*Y X(2,2)*Y X(2,3)*Y ]
看下面的例子就很快明白了
x=[1 2;3 4]
x =
1 2
3 4
>> y=[1 0;0 1]
y =
1 0
0 1
>> kron(x,y)
ans =
1 0 2 0
0 1 0 2
3 0 4 0
0 3 0 4