But a very quick and dirty way of doing it, and I don't know if it's actually dirty, is just take your matrix, put it in it reduced row echelon form, and you say, look, this column and this column are associated with my free variables.