column to delete column from a matrix in matlab code example Example: delete column matlab a(:,1) = [];