Please help me to look at the code below. Thx
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to get the max and min value of the equation, using the last three lines of code. BuI I don't know what's wrong with the issue.
댓글 수: 0
채택된 답변
Steven Lord
2021년 10월 19일
Change the name of the output variable on line 15. When a variable named min exists you will not be able to call the min function.
In fact if you're looking for the first instance of the minimum value don't use find. Call min with two output arguments.
댓글 수: 6
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!