Plotting mathematical functions in matplot
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Himanshu Sinha
le 22 Mai 2021
Réponse apportée : Sulaymon Eshkabilov
le 22 Mai 2021
I need to plot this in python.
y=(1-x) ^3 -2.
-1≤ x ≤ 5.(How do I define this range?)
0 commentaires
Réponse acceptée
Sulaymon Eshkabilov
le 22 Mai 2021
In MATLAB, you can plot it using:
y=@(x)((1-x).^3-2);
fplot(y, [-1, 5]);
0 commentaires
Plus de 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!