Linear system, complex roots.
Show older comments
I'm trying to solve linear system of equations with real coefficients using x=A\B. I keep getting x vector of complex numbers. What am doing wrong ?
2 Comments
Wayne King
on 22 Mar 2012
Can you post your A matrix and B vectors, or are they too big?
the cyclist
on 22 Mar 2012
It would be helpful if you gave a small example. Could it be that the imaginary parts are tiny, and due to round-off error?
Answers (0)
Categories
Find more on Systems Of Linear Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!