Function with euler not working properly
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
David Rojas
le 12 Oct 2019
Commenté : Walter Roberson
le 12 Oct 2019
Hi guys, I'm trying to plot this function on matlab but it isn't working as it should.
The function is:
I think I'm doing something wrong with the eulers or idk. Please help
3 commentaires
Walter Roberson
le 12 Oct 2019
To us, what shows up instead of images is:
The function is: Hj-SsrpFS0C4huXdg2I49Q.png
I can see that that is actually a reference to an image on prtscr.com but when I go to visit the image I am told "403 forbidden". I would guess that the images are set to private.
Réponse acceptée
the cyclist
le 12 Oct 2019
Modifié(e) : the cyclist
le 12 Oct 2019
The images you posted don't show up for me, either.
Your code ran for me, and yielded this figure:
I think you might have wanted
x=-10:0.1:10;
y=1500*exp(x)-2264+475*((exp(x)-1)./x);
plot(x,y)
Note that I added a dot to the division sign, to make it an element-wise.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!