Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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: 170
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
-0.0024-0.0011i
0.4502+0.0079i
-0.0528+0.0306i
-0.0610+0.0213i
-0.0364+0.0373i]



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.

Adam




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.