Vectorized Transpose Matrix

版本 1.0.0.0 (1.3 KB) 作者: Zachary Danziger
Creates an orthogonal permutation matrix for tensor and linear algebra manipulations.
552.0 次下载
更新时间 2010/2/24

查看许可证

The vectorized transpose matrix, Tmn, is the matrix that permutes the vectorization of an m#n matrix A into its transpose vectorization. For example, if the vectorization of A is defined as vec(A), or A(:), then Tmn*vec(A) = vec(A').

EXAMPLE
The vectorized transpose matrix can be used to reverse the order of arguments to the otherwise non-commutative Kronecker product.

>> m=2;n=3;p=4;q=2;
>> A = rand(m,n); B = rand(p,q);
>> isequal(TvecMat(p,m)*kron(A,B)*TvecMat(n,q),kron(B,A))
ans =
1

For other useful properties of the vectorized transpose matrix, see:
http://www.ee.ic.ac.uk/hp/staff/dmb/matrix/special.html#VecTranspose

引用格式

Zachary Danziger (2024). Vectorized Transpose Matrix (https://www.mathworks.com/matlabcentral/fileexchange/26781-vectorized-transpose-matrix), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0