Please help me to look at the code below. Thx
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tianlan Yang
le 19 Oct 2021
Commenté : Tianlan Yang
le 19 Oct 2021

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 commentaires
Réponse acceptée
Steven Lord
le 19 Oct 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


