Help me drawing graph

24 vues (au cours des 30 derniers jours)
현범 장
현범 장 le 11 Oct 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)

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Networks dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by