Help me drawing graph

조회 수: 13 (최근 30일)
현범 장
현범 장 2022년 10월 11일
답변: Sam Chak 2022년 10월 11일
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)

채택된 답변

Sam Chak
Sam Chak 2022년 10월 11일
Here there is
fimplicit(@(x,y) x + y - 5)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Networks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by