Help me drawing graph

13 visualizaciones (últimos 30 días)
현범 장
현범 장 el 11 de Oct. de 2022
Respondida: Sam Chak el 11 de Oct. de 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)

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Networks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by