How to find the x and y coordinates of the maximum value in curve without defferntiaition
51 ビュー (過去 30 日間)
古いコメントを表示
yousef Yousef
2015 年 6 月 4 日
コメント済み: Alfonso Nieto-Castanon
2015 年 6 月 5 日
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!