如题所述
不同行 不同列 你说的可能同行了
A=round(rand(5,3)*20);C=[];for i=1:5 for j=1:3 B=A; B(i,:)=[]; B(:,j)=[]; C=[C min(min(B+A(i,j)))]; endendAC=min(C)这个可以实现了