How to find the x and y coordinates of the maximum value in curve without defferntiaition
53 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
yousef Yousef
el 4 de Jun. de 2015
Comentada: Alfonso Nieto-Castanon
el 5 de Jun. de 2015
Hi I have a curve,I want to find x and y coordinate of the maximum value Thanks
1 comentario
James Tursa
el 4 de Jun. de 2015
In what form do you have the curve? A one line definition? A function file? Or what?
Respuesta aceptada
Image Analyst
el 4 de Jun. de 2015
If x and y are in arrays, how about
[maxY, indexOfMaxY] = max(y);
xAtMaxY = x(indexOfMaxY);
9 comentarios
Image Analyst
el 5 de Jun. de 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.
Más respuestas (1)
yousef Yousef
el 5 de Jun. de 2015
Editada: yousef Yousef
el 5 de Jun. de 2015
7 comentarios
Alfonso Nieto-Castanon
el 5 de Jun. de 2015
great, if that works please accept ImageAnalyst solution above since this was basically his original suggestion
Ver también
Categorías
Más información sobre Measurements and Statistics en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!