Algorithm for a commutation matrix

Hi everybody, need help to design a Matlab code function that creates a commutation matrix K of size (mn,mn) such that, for a (m,n) matrix A:
vec(A')=K vec(A)
where the vec operator is such that, for example, if:
Thanks for your help.
best,

 Respuesta aceptada

Luciano Campos
Luciano Campos el 29 de Mzo. de 2016

0 votos

I've worked this out. No further help needed.
Thanks anyway.
best,

Más respuestas (1)

Walter Roberson
Walter Roberson el 28 de Mzo. de 2016

0 votos

You have not defined Commutation Matrix correctly. You have defined it in terms of Conjugate Transpose, but it is instead defined in terms of Transpose.

1 comentario

Luciano Campos
Luciano Campos el 29 de Mzo. de 2016
Hi Walter,
Thanks for your answer, but I don't really see the difference between the way I defined the commutation matrix and how it's defined in Wikipedia. In any case, I'd really appreciate if you can help me coding it.
best,

Iniciar sesión para comentar.

Categorías

Preguntada:

el 28 de Mzo. de 2016

Respondida:

el 29 de Mzo. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by