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
댓글 수: 4
추가 답변 (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!