How to expand matrix to an equation?

9 views (last 30 days)
How would I expand this matrix to equations? I do not know if there is a pre-existing function to do this(reverse of equationsToMatrix??) I have attached the question as well. Thanks!

Accepted Answer

Star Strider
Star Strider on 1 Feb 2016
Straightforward:
syms x y
Eqn1 = [1 4; 2 3]*[x; y] == [1; -2];
Eqn2 = simplify(Eqn1)
Eqn2 =
x + 4*y == 1
2*x + 3*y == -2

More Answers (0)

Categories

Find more on Spline Postprocessing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!