Plotting 2 functions on the same graph

3 次查看(过去 30 天)
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