>> x=[1 2 3;4 5 6];>> x(:,1)=[] x = 2 3 5 6 >> x=[1 2 3;4 5 6];>> x(1,:)=[] x = 4 5 6 转载于:https://www.cnblogs.com/litthorse/p/6773703.html