How to find the x and y coordinates of the maximum value in curve without defferntiaition
50 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
yousef Yousef
le 4 Juin 2015
Commenté : Alfonso Nieto-Castanon
le 5 Juin 2015
Hi I have a curve,I want to find x and y coordinate of the maximum value Thanks
1 commentaire
James Tursa
le 4 Juin 2015
In what form do you have the curve? A one line definition? A function file? Or what?
Réponse acceptée
Image Analyst
le 4 Juin 2015
If x and y are in arrays, how about
[maxY, indexOfMaxY] = max(y);
xAtMaxY = x(indexOfMaxY);
9 commentaires
Image Analyst
le 5 Juin 2015
I hope someone with the Communications toolbox can help you. I don't have that so I can't run your code, specifically the awgn() function. I did format it for you though and added the Communications Toolbox to the product list above.
Plus de réponses (1)
yousef Yousef
le 5 Juin 2015
Modifié(e) : yousef Yousef
le 5 Juin 2015
7 commentaires
Alfonso Nieto-Castanon
le 5 Juin 2015
great, if that works please accept ImageAnalyst solution above since this was basically his original suggestion
Voir également
Catégories
En savoir plus sur Measurements and Statistics dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!