how to find y axis value's opposite x axis value
古いコメントを表示
for ex:x=1,2,3,4,5,6;y=2,7,8,9,4,1 i want pick up the y axis (9) opposite x axis value
採用された回答
その他の回答 (1 件)
Ilham Hardy
2015 年 4 月 29 日
>> x=[1,2,3,4,5,6];
>> y=[2,7,8,9,4,1];
>> opp_x = x(y==9)
opp_x =
4
カテゴリ
ヘルプ センター および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!