Symmetric Kronecker product in Matlab
古いコメントを表示
Is there any function available to compute the symmetric kronecker product in Matlab? Thanks in advance.
採用された回答
その他の回答 (2 件)
Walter Roberson
2017 年 10 月 16 日
syms a b c
kron([a, b, c], [c/(b+1), a])
ans =
[ (a*c)/(b + 1), a^2, (b*c)/(b + 1), a*b, c^2/(b + 1), a*c]
Looks okay?
marcelo martines
2017 年 10 月 16 日
0 投票
2 件のコメント
Walter Roberson
2017 年 10 月 16 日
The definition is not quite right. It says U element of R^(n*(n+1))x(n^2) . If we substitute in n = 3, then U would have to be an element of R^(3*4)x(3x3) = R^(12)x(9) . However, the example output is 6 x 9 and the description of how the entries are labeled cannot support the 12 x 9 possibility.
The description only makes sense if R^(n*(n+1)/2)x(n^2)
"It's difficult to me generalize the matrix "U" for any sized square matrix."
U will only be square when n = 1.
I will need to think more about good ways to fill in such a matrix.
marcelo martines
2017 年 10 月 16 日
編集済み: marcelo martines
2017 年 10 月 16 日
カテゴリ
ヘルプ センター および File Exchange で Linear Algebra についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
