How can I selec the optimum value, for example, Select A if abs(B <= C). please see the attached file, Thanks in advance

2 Kommentare

Image Analyst
Image Analyst am 10 Jan. 2014
Link doesn't work.
UTS
UTS am 11 Jan. 2014
Thank you very much for your concern and please try this link http://www.mathworks.com/matlabcentral/answers/uploaded_files/6665/MATLAB.png

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Matt J
Matt J am 10 Jan. 2014
Bearbeitet: Matt J am 10 Jan. 2014

0 Stimmen

A=data(:,1);
B=data(:,2);
C=data(:,3);
result=A(abs(B<=C))

Weitere Antworten (0)

Kategorien

Tags

Gefragt:

UTS
am 10 Jan. 2014

Kommentiert:

UTS
am 11 Jan. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by