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.
更多回答(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!