How to expand matrix to an equation?

조회 수: 9 (최근 30일)
Conrad Suen
Conrad Suen 2016년 2월 1일
댓글: Star Strider 2016년 2월 1일
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!

채택된 답변

Star Strider
Star Strider 2016년 2월 1일
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
  댓글 수: 2
Conrad Suen
Conrad Suen 2016년 2월 1일
It worked thanks!
Star Strider
Star Strider 2016년 2월 1일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by