how to plot an inverse function?
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
abc def
am 22 Dez. 2020
Beantwortet: Alan Stevens
am 22 Dez. 2020
Hello , I have an inverse function
x = -y^2+10
but i don't know how to declare and plot it.
I tried to do
y = -x^2 +10
g = finverse(y)
ezplot ( x,g ,[-2,12])
and "imaginary parts of complex x and/or y arguments ignored error in matlab" error appears.
what function should i use for this problem ?
Thank you !!!
0 Kommentare
Akzeptierte Antwort
Alan Stevens
am 22 Dez. 2020
How about
y = -10:10;
x = 10-y.^2;
plot(x,y),grid
xlabel('x'),ylabel('y')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!