Algorithm for a commutation matrix
Show older comments
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,
Accepted Answer
More Answers (1)
Walter Roberson
on 28 Mar 2016
0 votes
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 Comment
Luciano Campos
on 29 Mar 2016
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!