Linear system, complex roots.

1 view (last 30 days)
shir
shir on 22 Mar 2012
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
Wayne King on 22 Mar 2012
Can you post your A matrix and B vectors, or are they too big?
the cyclist
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?

Sign in to comment.

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!