The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: solving simultaneous equations with complex numbers
Replies: 1   Last Post: Jul 8, 2013 2:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Adam Chapman

Posts: 172
Registered: 1/12/09
solving simultaneous equations with complex numbers
Posted: Jul 6, 2013 4:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have an equation of the form AX=B.

A=[-0.0002-6.6659i -0.0044-6.6830i
0.0035-6.6548i -0.0049-6.6845i
-0.0049-6.6845i 0.0110-6.6264i
0.0075+16.6867i -0.0074+16.3202i
0.0074+16.3595i -0.0072+15.9402i
-0.0075+16.6466i 0.0074+16.3595i]

B=[ 0

If I try to find a value for X using "X=A\B", then calculate "B2=A*X"

B2 is not equal to the original value of B.

I've also tried "X=linsolve(A,B)", which returns a different value for X, by again calaulting A*X does not return the original value of B.

I've been trying to work this out for a few hours but have no idea what's causing this strange behaviour.

Any help is massively appreciated.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.