graphical representation function of x
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
f =inline('2*x.^3-3*x.^2+4*x-1');
x1=2.2345;
x2=-2:0.2:2;
y1=f(x1);
y2=f(x2);
plot(x2,y2)
title('graphical representation function of x')
xlabel('graphical variable of x');
ylabel('graphical variable of y');
1 commentaire
Sean de Wolski
le 4 Août 2015
Modifié(e) : Sean de Wolski
le 4 Août 2015
What is your question?
Also, use an anonymous function instead of inline
f = @(x)2*x.^2-2*x.^2+4*x-1;
Réponses (0)
Voir également
Catégories
En savoir plus sur Annotations 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!