Help me drawing graph

13 ビュー (過去 30 日間)
현범 장
현범 장 2022 年 10 月 11 日
回答済み: Sam Chak 2022 年 10 月 11 日
For example, the equation is x+y=5
I can draw that equation with
x = linspace(0,100)
y = 5-x
plot(x,y)
but how can i draw with x+y=5 or x+y-5=0? (without using y=5-x)

採用された回答

Sam Chak
Sam Chak 2022 年 10 月 11 日
Here there is
fimplicit(@(x,y) x + y - 5)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNetworks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by