In case you don’t know the exact number of columns or rows you can use the magic “end” index, e.g.:
mymatrix(:,2:end) % all but first column
mymatrix(2:end,:) % all but first row
This also allows you to slice rows or columns out of a matrix without having to reassign it to a new variable.