Solving a System of Equations with MATLAB

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
sara_87
Messages
748
Reaction score
0
i have two equations and 2 unknowns.
i have to represent this system of equations in a matrix form and then solve it...how do i do that on matlab?
 
Physics news on Phys.org
AX= B is your format. so X= inv(A)B

That should help.