Please help me to look at the code below. Thx

조회 수: 1 (최근 30일)
Tianlan Yang
Tianlan Yang 2021년 10월 19일
댓글: Tianlan Yang 2021년 10월 19일
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.

채택된 답변

Steven Lord
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
Tianlan Yang
Tianlan Yang 2021년 10월 19일
I have checked lots of times, I don't have any min variables in my workspace, but it still not works
Tianlan Yang
Tianlan Yang 2021년 10월 19일
It works thank you so much

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by