Plotting 2 functions on the same graph

3 visualizaciones (últimos 30 días)
Tahir Memon
Tahir Memon el 5 de Abr. de 2021
Respondida: David Hill el 5 de Abr. de 2021
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

Respuestas (1)

David Hill
David Hill el 5 de Abr. de 2021
syms x;
y = (2*x-1)/(x+1);
fplot(y);
hold on
g = finverse(y);
fplot(g)
grid;

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by