Matlab 中,我们有时候要删除矩阵中的某行某列,可以采用下列方法进行删除:a = [1 2 34 5 67 8 9];a(2,:) = []; % Delete row 2a(:,2) = [];
確定! 回上一頁