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.softsys.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




solving simultaneous equations with complex numbers
Posted:
Jul 6, 2013 4:24 PM


I have an equation of the form AX=B.
A=[0.00026.6659i 0.00446.6830i 0.00356.6548i 0.00496.6845i 0.00496.6845i 0.01106.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.00240.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



