Help me drawing graph

13 visualizzazioni (ultimi 30 giorni)
현범 장
현범 장 il 11 Ott 2022
Risposto: Sam Chak il 11 Ott 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)

Risposta accettata

Sam Chak
Sam Chak il 11 Ott 2022
Here there is
fimplicit(@(x,y) x + y - 5)

Più risposte (0)

Categorie

Scopri di più su Networks in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by