kron
- :
K =kron(A, B)¶ Kronecker tensor product of matrices A and B.
If A is m-by-n and B is p-by-q, then
kron (A, B)is (m*p)-by-(n*q), formed by taking every product of an element of A with the whole of B. When either input is sparse the product is sparse and only nonzeros are multiplied. Inputs must be 2-D.