Select the optimum value

4 Ansichten (letzte 30 Tage)
UTS
UTS am 10 Jan. 2014
Kommentiert: UTS am 11 Jan. 2014
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
A=data(:,1);
B=data(:,2);
C=data(:,3);
result=A(abs(B<=C))
  1 Kommentar
UTS
UTS am 11 Jan. 2014
Thank you very much,

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by