Help me drawing graph

13 Ansichten (letzte 30 Tage)
현범 장
현범 장 am 11 Okt. 2022
Beantwortet: Sam Chak am 11 Okt. 2022
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)

Akzeptierte Antwort

Sam Chak
Sam Chak am 11 Okt. 2022
Here there is
fimplicit(@(x,y) x + y - 5)

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by