how to do a 2d plot
1 次查看(过去 30 天)
显示 更早的评论
y=ln(2e^x/(1+e^x)^2)
0 个评论
采纳的回答
Mitch Lautigar
2022-6-9
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!