Select the optimum value

1 回表示 (過去 30 日間)
UTS
UTS 2014 年 1 月 10 日
コメント済み: UTS 2014 年 1 月 11 日
How can I selec the optimum value, for example, Select A if abs(B <= C). please see the attached file, Thanks in advance
  2 件のコメント
Image Analyst
Image Analyst 2014 年 1 月 10 日
Link doesn't work.
UTS
UTS 2014 年 1 月 11 日
Thank you very much for your concern and please try this link http://www.mathworks.com/matlabcentral/answers/uploaded_files/6665/MATLAB.png

サインインしてコメントする。

採用された回答

Matt J
Matt J 2014 年 1 月 10 日
編集済み: Matt J 2014 年 1 月 10 日
A=data(:,1);
B=data(:,2);
C=data(:,3);
result=A(abs(B<=C))
  1 件のコメント
UTS
UTS 2014 年 1 月 11 日
Thank you very much,

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by