同时删去?这好像是做不到的行和列必须分开删a(i,:) = [];a(:,j) = [];
>> A=[1 2 3 5 6 4 8 3 7];>> A(2,:)=[]A = 1 2 3 8 3 7>> A(:,2)=[]A = 1 3 8 7