Linear system, complex roots.

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 个评论

Can you post your A matrix and B vectors, or are they too big?
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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Systems Of Linear Equations 的更多信息

提问:

2012-3-22

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by