How to find the x and y coordinates of the maximum value in curve without defferntiaition
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
yousef Yousef
il 4 Giu 2015
Commentato: Alfonso Nieto-Castanon
il 5 Giu 2015
Hi I have a curve,I want to find x and y coordinate of the maximum value Thanks
1 Commento
James Tursa
il 4 Giu 2015
In what form do you have the curve? A one line definition? A function file? Or what?
Risposta accettata
Image Analyst
il 4 Giu 2015
If x and y are in arrays, how about
[maxY, indexOfMaxY] = max(y);
xAtMaxY = x(indexOfMaxY);
9 Commenti
Image Analyst
il 5 Giu 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.
Più risposte (1)
yousef Yousef
il 5 Giu 2015
Modificato: yousef Yousef
il 5 Giu 2015
7 Commenti
Alfonso Nieto-Castanon
il 5 Giu 2015
great, if that works please accept ImageAnalyst solution above since this was basically his original suggestion
Vedere anche
Categorie
Scopri di più su Graphics Performance in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!