kron
Returns the Kroncker product of two matrices.
y=kron(a,b)
Inputs
a Any matrix.
b Any matrix.
Outputs
y The Kronecker product of the two inputs, as defined below.


Description
The Kronecker product is defined as
     | a[1,1]*b      a[1,2]*b      a[1,3]*b   .....    a[1,n]*b  |
     | a[2,1]*b      a[2,2]*b      a[2,3]*b   .....    a[2,n]*b  |
     |                                                           |
     |                                                           |
     | a[m,1]*b      a[m,2]*b      ................    a[m,n]*b  |
     

Example
>>a=[1 2 ;3 4];
>>b=[5 6 7;8 9 10];
>>kron(a,b)
          5          6          7         10         12         14
          8          9         10         16         18         20
         15         18         21         20         24         28
         24         27         30         32         36         40