I don't think that solution is right. I think the only solution is the
trivial one, b1 = b2 = b3 = b4 = 0.

In [93]: solve(Matrix([[0, 0, 1/sqrt(2), 1/sqrt(2)], [0, 0, 1/2,
-1/sqrt(2)], [1/sqrt(2), 1/sqrt(2), 0, 0], [-1/sqrt(2), 1/sqrt(2), 0,
0]])*Matrix([0.5*b1, 0.6*b2, b3, 0.8*b4]) - Matrix([b1, b2, b3, b4]))
Out[93]: {b₁: 0.0, b₂: 0.0, b₃: 0.0, b₄: 0.0}

(let me know if I made a typo)

Aaron Meurer


On Tue, Jan 28, 2014 at 1:01 AM, Sachin p <[email protected]> wrote:
>
> How to solve such kind of matrices(see attached pic) for each variable. I
> tried using solve_linear_sysem() but no success.
>
> Expected values:
>
> b1 = 0.6566
> b2 = 0.7576
> b3 = 0.6536
> b4 = 0.0893
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to