필터 지우기
필터 지우기

solve system of equations without using matrices.

조회 수: 4 (최근 30일)
Luca
Luca 2018년 1월 11일
댓글: Luca 2020년 4월 12일
Hi, Is it possible to solve a system of equations without using matrices? That is, Can I write a series of unordered linear equations and find the solution?
  댓글 수: 5
Tommy
Tommy 2020년 4월 11일
What if you declare a, b, and c as symbolic also?
syms x y z a b c
eqn1 = 2*x^2 + y + z == 2*a;
eqn2 = -x + y - z +b == 3;
eqn3 = 2*y +c + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
Luca
Luca 2020년 4월 12일
Yep

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by