Form the Kronecker product of two or more matrices.
This is defined block by block as
x = [ a(i,j)*b ]
For example:
kron (1:4, ones (3, 1)) ⇒ 1 2 3 4 1 2 3 4 1 2 3 4
If there are more than two input arguments A1, A2, …, An the Kronecker product is computed as
kron (kron (A1, A2), …, An)
Since the Kronecker product is associative, this is well-defined.
Package: octave