Help me drawing graph

13 views (last 30 days)
현범 장
현범 장 on 11 Oct 2022
Answered: Sam Chak on 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)

Accepted Answer

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

More Answers (0)

Categories

Find more on Networks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!