How to find the x and y coordinates of the maximum value in curve without defferntiaition
조회 수: 51 (최근 30일)
이전 댓글 표시
Hi I have a curve,I want to find x and y coordinate of the maximum value Thanks
댓글 수: 1
James Tursa
2015년 6월 4일
In what form do you have the curve? A one line definition? A function file? Or what?
채택된 답변
Image Analyst
2015년 6월 4일
If x and y are in arrays, how about
[maxY, indexOfMaxY] = max(y);
xAtMaxY = x(indexOfMaxY);
댓글 수: 9
Image Analyst
2015년 6월 5일
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.
추가 답변 (1개)
yousef Yousef
2015년 6월 5일
편집: yousef Yousef
2015년 6월 5일
댓글 수: 7
Alfonso Nieto-Castanon
2015년 6월 5일
great, if that works please accept ImageAnalyst solution above since this was basically his original suggestion
참고 항목
카테고리
Help Center 및 File Exchange에서 Measurements and Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!