Path: news.mathworks.com!not-for-mail From: "atanas " <atanaslove2000@abv.bg> Newsgroups: comp.soft-sys.matlab Subject: Re: orthogonal matrix Date: Tue, 27 Apr 2010 00:47:05 +0000 (UTC) Organization: The MathWorks, Inc. Lines: 30 Message-ID: <hr5c68$dih$1@fred.mathworks.com> References: <hqvsda$m6d$1@fred.mathworks.com> <hr4is8$9cc$1@fred.mathworks.com> <hr59v0$ner$1@fred.mathworks.com> Reply-To: "atanas " <atanaslove2000@abv.bg> NNTP-Posting-Host: webapp-02-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1272329225 13905 172.30.248.37 (27 Apr 2010 00:47:05 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Tue, 27 Apr 2010 00:47:05 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 2327691 Xref: news.mathworks.com comp.soft-sys.matlab:630081 "atanas " <atanaslove2000@abv.bg> wrote in message <hr59v0$ner$1@fred.mathworks.com>... > "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hr4is8$9cc$1@fred.mathworks.com>... > > "atanas " <atanaslove2000@abv.bg> wrote in message <hqvsda$m6d$1@fred.mathworks.com>... > > > Hello, > > > I have problem for my project: > > > Let we matrices C0,C1,C2,C3,D0,D1,D2, and D3 are with size 2x2. > > > We knowing matrices C0,C1,C2,and C3 that > > > [C0 C1 C2 C3]*[C0 C1 C2 C3]'=I > > > We construct the matrix > > > W=[C0 C1 C2 C3 zeros(2,2) zeros(2,2); > > > zeros(2,2) zeros(2,2) C0 C1 C2 C3; > > > D0 D1 D2 D3 zeros(2,2) zeros(2,2); > > > zeros(2,2) zeros(2,2) D0 D1 D2 D3]. > > > > > > How to find matrix D0,D1,D2, and D3 so that satisfy condition W*W'=I? > > ----------------- > > Atanas, this thread is stretching out too long, so in spite of what I said earlier, I have decided to give you my version of a matlab code that would solve your problem. I hope you will find it useful. I leave it up to you to discover the logic behind the algorithm. > > > > Remember, it is very important that any set of C0, C1, C2, C3 you create yourself instead of using part 1 should pass the test that is given there with just as much accuracy as in part 1, namely with errors only out in the 14th or 15th decimal place. Otherwise the procedure in part 2 will not be accurate. It depends on the C's being correctly chosen. > > > > If you recall, I mentioned earlier that there is one degree of freedom in the choice of the D's, for any given set of C's. In the code below in the line > > > > y = null([y1,y2])'; > > > > matlab's 'null' function must choose two normal mutually orthogonal four-element vectors which are orthogonal to y1 and y2, so it must choose them in a two-dimensional subspace. However, the two vectors could be at any rotated orientation in this subspace and this is where the one degree of freedom for the D's comes in. > > Sir R. Stafford, I don't know for now, but continue calculate and research this method. If you have anywhere similar book, please send me! For future , if have good results I send you mail. Thank again.