필터 지우기
필터 지우기

3x-y+4=0 how to solve this equation in matlab

조회 수: 2 (최근 30일)
Adam
Adam 2022년 10월 7일
답변: Sam Chak 2022년 10월 8일
3x-y+4=0
  댓글 수: 1
Star Strider
Star Strider 2022년 10월 7일
There are an infinity of solutions for one equation in two unknowns.

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

답변 (1개)

Sam Chak
Sam Chak 2022년 10월 8일
The given equation
can be rewritten in this familiar line equation form
You can substitute any real value into x and find y
If there is another curve that intersects with the line, then you can find a unique solution.
If there are two intersections, then there are two solutions.
x = -4:0.1:4;
y = 3*x + 4;
plot(x, y), grid on
xlabel('x'), ylabel('y')

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by