Hi all,
I need help.
I have A*A' = C, where
C = [2/3 -1/3 -1/3;-1/3 2/3 -1/3;-1/3 -1/3 2/3]
and A is matrix 3x2.
How to generate A?
Thank You

댓글 수: 4

madhan ravi
madhan ravi 2018년 11월 26일
"A is matrix 3x2."
? A is given?
Imil Imran
Imil Imran 2018년 11월 26일
A is not given, I want to find A
Image Analyst
Image Analyst 2018년 11월 26일
Is this your homework? Homework help
Walter Roberson
Walter Roberson 2018년 11월 26일
Looks like there are at least 60 solutions once you realize that the solutions are not restricted to real numbers.

댓글을 달려면 로그인하십시오.

 채택된 답변

Bruno Luong
Bruno Luong 2018년 11월 26일
편집: Bruno Luong 2018년 11월 29일

0 개 추천

One solution can be found by using SVD
>> C = [2/3 -1/3 -1/3;-1/3 2/3 -1/3;-1/3 -1/3 2/3]
C =
0.6667 -0.3333 -0.3333
-0.3333 0.6667 -0.3333
-0.3333 -0.3333 0.6667
>> rank(C) % check if C can be factorized with 3x2 matrix
ans =
2
>> [U,S,V]=svd(C);
>> A = U(:,1:2)*S(1:2,1:2)
A =
-0.8165 0.0000
0.4082 -0.7071
0.4082 0.7071
>> A*A'
ans =
0.6667 -0.3333 -0.3333
-0.3333 0.6667 -0.3333
-0.3333 -0.3333 0.6667
The solution is not uique since you can multiply on the right side of A by any Hermitian matrix of size 2 x 2

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2018년 11월 26일

편집:

2018년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by