|
matlab6.5也有的,呵呵。使用这个函数时,要留意参数次序。
help kron
KRON Kronecker tensor product.
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 ]
If either X or Y is sparse, only nonzero elements are multiplied
in the computation, and the result is sparse. |
评分
-
1
查看全部评分
-
|