Manipulating tensor products
Mostrar comentarios más antiguos
If I have computed an integral of something of the form kron(A,B) where A and B are sparse matrices. How do I get other tensor products such as kron(A',B), kron(A, B'), etc? Since they all involve the same elements it should be a simple manipulation of the indices. Is there an existing routine to do this?
Respuestas (2)
Andrew Newell
el 14 de Mzo. de 2011
Transposition is distributive over the Kronecker product, so
kron(A',B') = kron(A,B)'
kron(A',B) = kron(A,B')'
but there doesn't seem to be a simple way of getting kron(A',B) or kron(A,B') from kron(A,B).
Sean de Wolski
el 14 de Mzo. de 2011
0 votos
Let me throw a vote in for Matt J's KronProd Class:
Categorías
Más información sobre Parametric Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!