I have a imaginary matrix C and I need to decompose it to B'AB. Where B should be of size (m,n) and A(m,m).
1 次查看(过去 30 天)
显示 更早的评论
Hi all, In my problem I know the value of the matrix C and now I want to decompose it into B'AB. Where B should be of size (m,n) and A(m,m). Is there any function or code to do that in MATLAB. That is B'AB=function(C).
Please let me know.
Have a nice day.
0 个评论
采纳的回答
Udit Gupta
2014-5-29
Without more information I can only assume you are trying to accomplish a Schur Decomposition. Please see Matlab - Schur Decomposition for details. Usage is -
[B,A] = schur(C);
B = B';
Note here if the matrix C is complex you will get the conjugate instead of transpose. Also to get the answer in your desired format you have to take the conjugate of the matrix B obtained from the Schur decomposition.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!