How to find minimum value ,correspondings to a column ,in an output ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have a question about a code. My code creates an output .txt file with two columns, (let's say x the 1st column and y the 2nd column) and plot the x-y plot. I am using "min(y)" in order to find the minimum value of y column. I would like to prind on my plot the x value that correspont to the minimum value of y column.
Could you please help me?
0 件のコメント
採用された回答
Steven Lord
2020 年 11 月 24 日
The second output from the min function will help you retrieve the corresponding element of x.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!