Plotting 2 functions on the same graph

조회 수: 3 (최근 30일)
Tahir Memon
Tahir Memon 2021년 4월 5일
답변: David Hill 2021년 4월 5일
the following code below doesnt help me plot 2 functions on the same graph. Can someone pls help me?
syms x;
y = (2*x-1)/(x+1);
ezplot(y);
hold on
g = finverse(y);
figure;
ezplot(g)
grid;
hold off

답변 (1개)

David Hill
David Hill 2021년 4월 5일
syms x;
y = (2*x-1)/(x+1);
fplot(y);
hold on
g = finverse(y);
fplot(g)
grid;

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by