Select the optimum value

4 次查看(过去 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

采纳的回答

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))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by