how to do a 2d plot
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
asjad diknash
le 9 Juin 2022
Commenté : Mitch Lautigar
le 10 Juin 2022
y=ln(2e^x/(1+e^x)^2)
0 commentaires
Réponse acceptée
Mitch Lautigar
le 9 Juin 2022
You need to use dot indexing since the values passed in will be in an array. Since this looks like a HW problem, I encourage you to play with ".*" and "./" and use the following link to help you with the natural log.
https://www.mathworks.com/help/matlab/ref/log.html
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!