Plotting 2 functions on the same graph

4 vues (au cours des 30 derniers jours)
Tahir Memon
Tahir Memon le 5 Avr 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

Réponses (1)

David Hill
David Hill le 5 Avr 2021
syms x;
y = (2*x-1)/(x+1);
fplot(y);
hold on
g = finverse(y);
fplot(g)
grid;

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by