how to solve system of non linear equations with three different variables?
조회 수: 3 (최근 30일)
이전 댓글 표시
x^2*y-z=1.5
x-3y^0.5+xz=-2
x+y-z=4.2
댓글 수: 0
답변 (1개)
Hannes Daepp
2017년 2월 14일
You can use "solve" to find solutions for systems of equations. For example,
>> syms x y
>> [x_ans, y_ans] = solve(x + y == 9, y-x == 1)
x_ans =
4
y_ans =
5
The documentation offers more detail on the function, as well as several useful links for approaching equations solving, e.g.:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Equation Solving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!