how to do a 2d plot
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
asjad diknash
am 9 Jun. 2022
Kommentiert: Mitch Lautigar
am 10 Jun. 2022
y=ln(2e^x/(1+e^x)^2)
0 Kommentare
Akzeptierte Antwort
Mitch Lautigar
am 9 Jun. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!