How would i solve this particular equation to find x and y. Equation in is attachments

댓글 수: 1

the cyclist
the cyclist 2017년 2월 9일
What have you tried? Did someone (e.g. a teacher) tell you that you must use MATLAB to do this, because this can easily be solved without it.
Do you realize that what have written there actually represents 4 equations? (That realization is important to solving for x and y.)

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

 채택된 답변

Hannes Daepp
Hannes Daepp 2017년 2월 14일

0 개 추천

As the cyclist pointed out above, this is a somewhat odd system of equations to solve in matrix form. However, in general, you can use "solve" to find solutions for systems of equations, in matrix form or as a list of equations, provided separately. For example,
>> syms x y
>> [x_ans, y_ans] = solve([x + y; y - x] == [9; 1])
x_ans =
4
y_ans =
5
You can find more information on the "solve" function in the documentation. Additionally, you may find the following documentation links to be useful for approaching equation solving:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2017년 2월 9일

답변:

2017년 2월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by