
Solving for unknown matrix X
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
Solve matrix equation AXB=C, solve for matrix X
Hey. Can some of you help me with this task? I've tried multiple ways to solve this but I just can't figure out how to solve for the unknown matrix X.
Image inserted.

Thank you.
댓글 수: 0
채택된 답변
  Hiro Yoshino
    
 2023년 4월 5일
        I would use a pesudoinverse:

A = [6 4;6 1; 1 2; 6 4]
B = [8 8 6 7 5; 8 8 1 6 0; 1 4 3 8 7]
C = [18042 21288 10716 22446 12924; 12768 15024 7593 15795 9099;...
    5351 6332 3174 6697 3854; 18042 21288 10716 22446 12924]
How about thinking of Moore-Penrose pseudoinverse?
X =  pinv(A)*C*pinv(B)
Check if this works well:
A*X*B - C
Floating-point relative accuracy is given by
eps
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

