Next: , Previous: spinv, Up: Function Reference


22.6.0.32 spkron

— Function File: spkron (a, b)

Form the kronecker product of two sparse 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