Select the optimum value

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

类别

帮助中心File Exchange 中查找有关 Simulink Design Optimization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by