我需要一些有关以下代码的帮助: if x(:,3)>x(:,4) output=[x(:,1)-x(:,2)]; elseif x(:,3)<x(:,4) output=[x(:,2)-x(:,1)]; else output=NaN end 这是一个示例数据:
確定! 回上一頁