フィルターのクリア

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 Center および File ExchangeMathematics and Optimization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by