Algorithm for a commutation matrix
18 ビュー (過去 30 日間)
古いコメントを表示
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159150/image.png)
Thanks for your help.
best,
0 件のコメント
採用された回答
その他の回答 (1 件)
Walter Roberson
2016 年 3 月 28 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!