Hi, I'm searched many web pages and didn't find out specific and easy answer so I'm writing here and hoping to get the answer.
So there is the system:

 Réponse acceptée

David Hill
David Hill le 25 Oct 2020
Do you just want to plot them to see where the curves cross?
x=-5:5;
y=.5*x.^2-2;
z=x+2;
plot(x,y,x,z);
grid on;
grid minor;

3 commentaires

Karolis Kazlauskas
Karolis Kazlauskas le 25 Oct 2020
Yes, thats is exactly as i want, thank you and maybe you could help me with another difficulty I'm dealing with? It's function: I need to count function y=f(x) meanings when x is changing from x0 to xn. I think I need to create function y values table and then I have to draw a graphic.
x=.1:.001:3;%not sure what interval you want to plot
y=x.^(1/3)-4./x;
plot(x,y);
Karolis Kazlauskas
Karolis Kazlauskas le 25 Oct 2020
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by