X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Jan 2007 05:23 PM by  anon
How to compute inverse complex matrix?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
31 Jan 2007 05:23 PM
    Hi all: I try to solve a series of linear equation. For example, let A is 2X3 matrix. B is unknown variable. ( 1.00000, 0.000000)( 0.000000, 2.00000) A=( 4.00000, 0.000000)( 2.00000, 0.000000) transpose(B)= (a,b). ( 3.00000, 0.000000)( 5.00000, 0.000000) Transpose(C)= (1,2,3). Then A##B=C. Now I let A_plus=inverse matrix of {transpose(A)##A}##transpose(A). Then B=A_plus##C I can find the variable B. I use the following command to compute B. B=(La_invert(conj(transpose(A))##A)##conj(transpose(A)))##C. But IDL give me wrong result. we can test that A##B is not equal to C. does anyone figure out where I make a mistake? thank you for your kind help.

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Jan 2007 05:23 PM
    Maybe this is the fault of how the IDL User Forum works with line returns or tabs or blank spaces from some keyboards, but there is something wrong with how your variables and operations appear in your original message. Could you possibly repost, preferably using IDL array syntax. Thus, if A is a 2 x 3 matrix, then it should have an assignment statement that looks like this: A = [[1.0,0.0],[0.0,2.0],[4.0,0.0]] You have examples in your original message that look like either 2x2 matrices or 2x2x3 arrays. After this, if you list line by line, just one operation per line, what equations IDL should be solving, maybe with a ';' comment explanation at the end of each statement, then perhaps someone in the group can help find the solution. Like I suggested, there may be a problem for your keyboard to type directly into IDL's User Forum textbox. In this case, you might want to first write you message in a simple text editor (like Notepad) and then just paste it into the User Forum textbox. Best of luck, James Jones
    You are not authorized to post a reply.