Solving a System of Equations with MATLAB

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
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.