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

2 commentaires

Image Analyst
Image Analyst le 10 Jan 2014
Link doesn't work.
UTS
UTS le 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

Connectez-vous pour commenter.

 Réponse acceptée

Matt J
Matt J le 10 Jan 2014
Modifié(e) : Matt J le 10 Jan 2014

0 votes

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

Plus de réponses (0)

Catégories

Tags

Question posée :

UTS
le 10 Jan 2014

Commenté :

UTS
le 11 Jan 2014

Community Treasure Hunt

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

Start Hunting!

Translated by