MATLAB Answers

I need to solve an equation set :(

2 views (last 30 days)
Hassan Dehghani
Hassan Dehghani on 28 Apr 2015
Answered: Roger Stafford on 28 Apr 2015
Hi, I need to solve an equation, but I don't know how. here's the equation set.
P*S=A*P+B*G+E
0= C*P+D*G+De
P and G are the unknown matrices. S is 4*4, A is 5*5, B is 5*3, E is 5*4; and C is 3*5, D is 3*3 and De is 3*4.

Answers (1)

Roger Stafford
Roger Stafford on 28 Apr 2015
What you have here is the equivalent of 32 linear (scalar) equations in 32 unknowns. A (somewhat desperate) solution is to convert your two matrix equations into such a set of linear equations and solve them using matlab's backslash operator on a 32-by-32 matrix. The answer of course will depend on the values in the known matrices.

Community Treasure Hunt

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

Start Hunting!